quartz-research-note/quartz/components/Body.tsx

13 lines
339 B
TypeScript
Raw Normal View History

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