Jacky Zhao
2024-02-24 c53fd5b56fb5a4a09df0a6dc8ff115b510f25d25
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