Update button component

This commit is contained in:
Hazem Krimi
2021-04-16 00:00:27 +01:00
parent 22d9b1e96b
commit 78d76be1ec
2 changed files with 2 additions and 6 deletions
+1 -3
View File
@@ -8,9 +8,7 @@ type ButtonProps = Omit<React.AllHTMLAttributes<HTMLButtonElement>, 'size'> & {
| 'admin'
| 'success'
| 'warning'
| 'error'
| 'black'
| 'white';
| 'error';
size?: 'small' | 'big';
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
iconLeft?: React.SVGProps<SVGSVGElement>;
+1 -3
View File
@@ -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<SVGSVGElement>;