From 6de20829615869b96d624c5c1f51cdedfbcd59f1 Mon Sep 17 00:00:00 2001 From: Arne Molland Date: Tue, 14 Dec 2021 12:00:36 +0100 Subject: [PATCH] Make icon optional --- src/lib/components/buttons/Button/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/buttons/Button/Button.tsx b/src/lib/components/buttons/Button/Button.tsx index 9bc47435..1e72042a 100644 --- a/src/lib/components/buttons/Button/Button.tsx +++ b/src/lib/components/buttons/Button/Button.tsx @@ -18,7 +18,7 @@ export type ButtonMargins = { export type ButtonProps = StyledButtonProps & ButtonContentProps & { - icon: keyof Icons + icon?: keyof Icons faIcon?: IconProp iconPosition?: IconPosition size?: ButtonSize