sendou.ink/app/components/Divider.tsx
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

23 lines
352 B
TypeScript

import clsx from "clsx";
import styles from "./Divider.module.css";
export function Divider({
children,
className,
smallText,
}: {
children?: React.ReactNode;
className?: string;
smallText?: boolean;
}) {
return (
<div
className={clsx(styles.divider, className, {
[styles.smallText]: smallText,
})}
>
{children}
</div>
);
}