rizaldy.club/quartz/components/Spacer.tsx

8 lines
264 B
TypeScript
Raw Normal View History

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