keroosha.cybergulag.today/quartz/components/Spacer.tsx

9 lines
314 B
TypeScript
Raw Normal View History

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