Update button component

This commit is contained in:
Hazem Krimi
2021-05-01 19:40:10 +01:00
parent 969e4d6bb4
commit 5c97d044cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { Spinner } from '..';
import { Wrapper } from './styles'; import { Wrapper } from './styles';
type ButtonProps = { type ButtonProps = {
color: 'client' | 'productOwner' | 'developer' | 'admin'; color: 'client' | 'productOwner' | 'developer' | 'admin' | 'error';
size?: 'small' | 'big'; size?: 'small' | 'big';
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text'; variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
type?: 'submit' | 'button' | 'reset'; type?: 'submit' | 'button' | 'reset';
+1 -1
View File
@@ -1,7 +1,7 @@
import styled, { css } from 'styled-components'; import styled, { css } from 'styled-components';
type WrapperProps = { type WrapperProps = {
color: 'client' | 'productOwner' | 'developer' | 'admin'; color: 'client' | 'productOwner' | 'developer' | 'admin' | 'error';
size?: 'small' | 'big'; size?: 'small' | 'big';
variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text'; variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text';
iconLeft?: React.SVGProps<SVGSVGElement>; iconLeft?: React.SVGProps<SVGSVGElement>;