Jacky Zhao
2024-09-15 50a78bafa53a6f99aa28911beb2d73e74c4127dd
1
2
3
4
5
6
7
8
9
10
11
12
13
// @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