<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
This commit is contained in:
Alex Johansson authored and GitHub committed 2021-08-23 14:45:25 +02:00
1 parent ce64080160
commit a77a15056a
7 files changed
+251 -83

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
export default function classNames(...classes) {
export default function classNames(...classes: unknown[]) {
return classes.filter(Boolean).join(" ");
}