mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
8 lines
314 B
TypeScript
8 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
|