mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-10 02:05:33 +02:00
initial
This commit is contained in:
commit
a08a51eea3
241 changed files with 23091 additions and 0 deletions
13
quartz/components/Body.tsx
Normal file
13
quartz/components/Body.tsx
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue