cal/lib/classNames.ts
Alex Johansson a77a15056a
`<Button>`-component (#480)
-`<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
2021-08-23 14:45:25 +02:00

4 lines
106 B
TypeScript

export default function classNames(...classes: unknown[]) {
return classes.filter(Boolean).join(" ");
}