mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +00:00
16 lines
433 B
TypeScript
16 lines
433 B
TypeScript
// @ts-ignore
|
|
import clipboardScript from './scripts/clipboard.inline'
|
|
import clipboardStyle from './styles/clipboard.scss'
|
|
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
|
|
|
function Body({ children }: QuartzComponentProps) {
|
|
return <article>
|
|
{children}
|
|
</article>
|
|
}
|
|
|
|
Body.afterDOMLoaded = clipboardScript
|
|
Body.css = clipboardStyle
|
|
|
|
export default (() => Body) satisfies QuartzComponentConstructor
|
|
|