roadmap/quartz/components/Spacer.tsx

9 lines
314 B
TypeScript
Raw Normal View History

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