mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-05-17 22:14:17 +02:00
14 lines
433 B
TypeScript
14 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 <div id="quartz-body">{children}</div>
|
|
}
|
|
|
|
Body.afterDOMLoaded = clipboardScript
|
|
Body.css = clipboardStyle
|
|
|
|
export default (() => Body) satisfies QuartzComponentConstructor
|