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

9 lines
310 B
TypeScript
Raw Normal View History

import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
2024-02-05 10:45:36 +00:00
import { classNames } from "../util/lang"
2023-06-12 06:46:38 +00:00
function Spacer({ displayClass }: QuartzComponentProps) {
2024-02-05 10:45:36 +00:00
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