2023-06-16 19:41:59 -07:00
|
|
|
// @ts-ignore
|
2023-07-22 17:27:41 -07:00
|
|
|
import clipboardScript from "./scripts/clipboard.inline"
|
|
|
|
import clipboardStyle from "./styles/clipboard.scss"
|
2024-02-13 23:53:44 -05:00
|
|
|
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
2023-06-06 21:19:00 -07:00
|
|
|
|
2024-02-13 23:53:44 -05:00
|
|
|
const Body: QuartzComponent = ({ children }: QuartzComponentProps) => {
|
2023-07-22 17:27:41 -07:00
|
|
|
return <div id="quartz-body">{children}</div>
|
2023-06-06 21:19:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
Body.afterDOMLoaded = clipboardScript
|
|
|
|
Body.css = clipboardStyle
|
2023-06-11 23:46:38 -07:00
|
|
|
|
|
|
|
export default (() => Body) satisfies QuartzComponentConstructor
|