
-`<Button/>` component - Uses `next/link` + `<a/>` if you supply a `href` otherwise `<button/>` - Add UI sandbox - Change the `event-types/index` to use a query param for deciding if modal is open or not
3 lines
106 B
TypeScript
3 lines
106 B
TypeScript
export default function classNames(...classes: unknown[]) {
|
|
return classes.filter(Boolean).join(" ");
|
|
}
|