Icon small button variant (#6525)

* Icon small button variant

* Rename

* Update CVA + Update button WIP

* add ticket ref and fix padding

* Update button and all uses of Icon button

* SB deployment test

* Fixing type error

* Fix lint

* Add icon button to canvas

Co-authored-by: Alex van Andel <me@alexvanandel.com>
This commit is contained in:
sean-brydon
2023-01-19 14:55:32 +00:00
committed by GitHub
co-authored by Alex van Andel
parent 18246e0dc1
commit cfaecc3e02
37 changed files with 145 additions and 93 deletions
+1 -1
View File
@@ -766,7 +766,7 @@ export function ShellMain(props: LayoutProps) {
<div className="mb-6 flex sm:mt-0 lg:mb-10">
{!!props.backPath && (
<Button
size="icon"
variant="icon"
color="minimal"
onClick={() =>
typeof props.backPath === "string" ? router.push(props.backPath as string) : router.back()