rizaldy.club/quartz/components/Body.tsx

13 lines
339 B
TypeScript
Raw Normal View History

2023-06-07 11:19:00 +07:00
import clipboardScript from './scripts/clipboard.inline'
import clipboardStyle from './styles/clipboard.scss'
2023-06-08 12:27:32 +07:00
import { QuartzComponentProps } from "./types"
2023-06-07 11:19:00 +07:00
2023-06-10 13:06:02 +07:00
export default function Body({ children }: QuartzComponentProps) {
2023-06-07 11:19:00 +07:00
return <article>
{children}
</article>
}
Body.afterDOMLoaded = clipboardScript
Body.css = clipboardStyle