sendou.ink/app/components/Divider.tsx
Kalle e23e949980
Tournament staff (TO & Streamer) (#1619)
* Migrations

* Arrange admin UI

* Load staff from DB

* Fix TODO

* Can add/remove staff

* isTournamentAdmin / isTournamentOrganizer

* Show chat to streamer

* User titles in the chat

* chat name color

* Unique constraint

* TO Staff E2E tests

* Casts on stream page

* Streamer test

* Fix test
2024-01-07 12:41:03 +02:00

18 lines
296 B
TypeScript

import clsx from "clsx";
export function Divider({
children,
className,
smallText,
}: {
children?: React.ReactNode;
className?: string;
smallText?: boolean;
}) {
return (
<div className={clsx("divider", className, { "text-sm": smallText })}>
{children}
</div>
);
}