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