diff --git a/src/components/Link/index.tsx b/src/components/Link/index.tsx index a4cf082..48d94f3 100644 --- a/src/components/Link/index.tsx +++ b/src/components/Link/index.tsx @@ -4,7 +4,17 @@ import { Wrapper } from './styles'; type LinkProps = { href: string; children?: React.ReactNode | JSX.Element | string; - color?: 'client' | 'productOwner' | 'developer' | 'admin' | string; + color?: + | 'client' + | 'productOwner' + | 'developer' + | 'admin' + | 'success' + | 'warning' + | 'error' + | 'black' + | 'white' + | string; className?: string; iconLeft?: React.SVGProps; onClick?: () => void; diff --git a/src/components/Link/styles.ts b/src/components/Link/styles.ts index 6fdb623..c95ddbf 100644 --- a/src/components/Link/styles.ts +++ b/src/components/Link/styles.ts @@ -1,7 +1,17 @@ import styled, { css } from 'styled-components'; type WrapperProps = { - color?: 'client' | 'productOwner' | 'developer' | 'admin' | string; + color?: + | 'client' + | 'productOwner' + | 'developer' + | 'admin' + | 'success' + | 'warning' + | 'error' + | 'black' + | 'white' + | string; iconLeft?: React.SVGProps; };