From 78d76be1ecee89239d5f904f0a2d1765201f1dc2 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Fri, 16 Apr 2021 00:00:27 +0100 Subject: [PATCH] Update button component --- src/components/Button/index.tsx | 4 +--- src/components/Button/styles.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index a64d567..e23d863 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -8,9 +8,7 @@ type ButtonProps = Omit, 'size'> & { | 'admin' | 'success' | 'warning' - | 'error' - | 'black' - | 'white'; + | 'error'; size?: 'small' | 'big'; variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text'; iconLeft?: React.SVGProps; diff --git a/src/components/Button/styles.ts b/src/components/Button/styles.ts index b6161e7..0f45906 100644 --- a/src/components/Button/styles.ts +++ b/src/components/Button/styles.ts @@ -8,9 +8,7 @@ type WrapperProps = { | 'admin' | 'success' | 'warning' - | 'error' - | 'black' - | 'white'; + | 'error'; size?: 'small' | 'big'; variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text'; iconLeft?: React.SVGProps;