mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 22:46:22 +00:00
21c6bbf302
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
13 lines
470 B
TypeScript
13 lines
470 B
TypeScript
// @ts-ignore
|
|
import clipboardScript from "./scripts/clipboard.inline"
|
|
import clipboardStyle from "./styles/clipboard.scss"
|
|
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
|
|
|
const Body: QuartzComponent = ({ children }: QuartzComponentProps) => {
|
|
return <div id="quartz-body">{children}</div>
|
|
}
|
|
|
|
Body.afterDOMLoaded = clipboardScript
|
|
Body.css = clipboardStyle
|
|
|
|
export default (() => Body) satisfies QuartzComponentConstructor
|