mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-01-14 22:18:43 +00:00
9 lines
314 B
TypeScript
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
|