diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index 1b45486..522724f 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -2,7 +2,7 @@ import { Spinner } from '..'; import { Wrapper } from './styles'; type ButtonProps = { - color: 'client' | 'productOwner' | 'developer' | 'admin'; + color: 'client' | 'productOwner' | 'developer' | 'admin' | 'error'; size?: 'small' | 'big'; variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text'; type?: 'submit' | 'button' | 'reset'; diff --git a/src/components/Button/styles.ts b/src/components/Button/styles.ts index 0e37b91..f25c02e 100644 --- a/src/components/Button/styles.ts +++ b/src/components/Button/styles.ts @@ -1,7 +1,7 @@ import styled, { css } from 'styled-components'; type WrapperProps = { - color: 'client' | 'productOwner' | 'developer' | 'admin'; + color: 'client' | 'productOwner' | 'developer' | 'admin' | 'error'; size?: 'small' | 'big'; variant?: 'primary-action' | 'secondary-action' | 'outlined' | 'text'; iconLeft?: React.SVGProps;