site/quartz/components/Spacer.tsx

9 lines
310 B
TypeScript
Raw Normal View History

2024-04-05 00:03:11 +00:00
import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
import { classNames } from "../util/lang"
function Spacer({ displayClass }: QuartzComponentProps) {
return <div class={classNames(displayClass, "spacer")}></div>
}
export default (() => Spacer) satisfies QuartzComponentConstructor