Jacky Zhao
2024-02-17 a6690c6503ca6b2957a4476671c7239212b81b1a
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