2023-06-17 05:41:59 +03:00
|
|
|
// @ts-ignore
|
2023-06-07 07:19:00 +03:00
|
|
|
import clipboardScript from './scripts/clipboard.inline'
|
|
|
|
import clipboardStyle from './styles/clipboard.scss'
|
2023-06-12 09:46:38 +03:00
|
|
|
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
2023-06-07 07:19:00 +03:00
|
|
|
|
2023-06-12 09:46:38 +03:00
|
|
|
function Body({ children }: QuartzComponentProps) {
|
2023-06-17 22:07:40 +03:00
|
|
|
return <div id="quartz-body">
|
2023-06-07 07:19:00 +03:00
|
|
|
{children}
|
2023-06-17 22:07:40 +03:00
|
|
|
</div>
|
2023-06-07 07:19:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
Body.afterDOMLoaded = clipboardScript
|
|
|
|
Body.css = clipboardStyle
|
2023-06-12 09:46:38 +03:00
|
|
|
|
|
|
|
export default (() => Body) satisfies QuartzComponentConstructor
|
|
|
|
|