quartz-research-note/quartz/components/Spacer.tsx

9 lines
310 B
TypeScript
Raw Normal View History

import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
import { classNames } from "../util/lang"
2023-06-12 06:46:38 +00:00
function Spacer({ displayClass }: QuartzComponentProps) {
return <div class={classNames(displayClass, "spacer")}></div>
2023-06-08 05:27:32 +00:00
}
2023-06-12 06:46:38 +00:00
export default (() => Spacer) satisfies QuartzComponentConstructor