rizaldy.club/quartz/components/Spacer.tsx
2023-07-04 16:48:36 -07:00

9 lines
314 B
TypeScript

import { QuartzComponentConstructor, QuartzComponentProps } from "./types"
function Spacer({ displayClass }: QuartzComponentProps) {
const className = displayClass ? `spacer ${displayClass}` : "spacer"
return <div class={className}></div>
}
export default (() => Spacer) satisfies QuartzComponentConstructor