9 lines
314 B
TypeScript
Raw Normal View History

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