We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8ac02 commit 2cfd9c4Copy full SHA for 2cfd9c4
1 file changed
quartz/components/Drawer.tsx
@@ -0,0 +1,18 @@
1
+import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
2
+import style from "./styles/drawer.scss"
3
+// @ts-ignore
4
+
5
+interface Options {
6
+ links?: Record<string, string>
7
+}
8
9
+export default ((opts?: Options) => {
10
+ const Drawer: QuartzComponent = (props: QuartzComponentProps) => {
11
+ const links = opts?.links ?? []
12
+ return <div class="drawer">Drawer</div>
13
+ }
14
15
+ Drawer.css = style
16
17
+ return Drawer
18
+}) satisfies QuartzComponentConstructor
0 commit comments