wiki/quartz/components/Body.tsx
Jacky Zhao b8c011410d toc
2023-06-09 23:06:02 -07:00

12 lines
339 B
TypeScript

import clipboardScript from './scripts/clipboard.inline'
import clipboardStyle from './styles/clipboard.scss'
import { QuartzComponentProps } from "./types"
export default function Body({ children }: QuartzComponentProps) {
return <article>
{children}
</article>
}
Body.afterDOMLoaded = clipboardScript
Body.css = clipboardStyle