rizaldy.club/quartz/components/Spacer.tsx

9 lines
314 B
TypeScript
Raw Normal View History

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