1
0
Fork 0
mirror of https://github.com/lukevella/rallly.git synced 2025-08-11 16:27:05 +02:00
rallly/components/menu-styles.ts
2022-04-12 07:14:28 +01:00

13 lines
214 B
TypeScript

import clsx from "clsx";
export const styleMenuItem = ({
active,
selected,
}: {
active: boolean;
selected: boolean;
}) =>
clsx("menu-item", {
"font-medium": selected,
"bg-blue-50": active,
});