Skip to content

Commit 9a48de0

Browse files
committed
feat: add black and white in icon color
1 parent 9fc9546 commit 9a48de0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Shared/Components/Icon/types.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@ export interface IconBaseProps extends Pick<SVGAttributes<SVGSVGElement>, 'strok
2121
* If `null`, the default color present in icon is used.
2222
* @example `'B500'`, `'N200'`, `'G50'`, `'R700'`
2323
*/
24-
color: `${'B' | 'N' | 'G' | 'Y' | 'R' | 'V' | 'O'}${`${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}00` | '50'}` | null
24+
color:
25+
| `${'B' | 'N' | 'G' | 'Y' | 'R' | 'V' | 'O'}${`${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}00` | '50'}`
26+
| 'white'
27+
| 'black'
28+
| null
2529
}

0 commit comments

Comments
 (0)