Convert <Avatar /> component to Storybook
Co-authored-by: Chris Svenningsen <chris@carbonfive.com> Co-authored-by: Sidney Keese <me@sidke.com>
This commit is contained in:
parent
4169c120fc
commit
d3d3c41f94
24 changed files with 183 additions and 540 deletions
18
ts/types/Colors.ts
Normal file
18
ts/types/Colors.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
export const Colors = [
|
||||
'red',
|
||||
'deep_orange',
|
||||
'brown',
|
||||
'pink',
|
||||
'purple',
|
||||
'indigo',
|
||||
'blue',
|
||||
'teal',
|
||||
'green',
|
||||
'light_green',
|
||||
'blue_grey',
|
||||
'grey',
|
||||
'ultramarine',
|
||||
'signal-blue',
|
||||
] as const;
|
||||
|
||||
export type ColorType = typeof Colors[number];
|
|
@ -11,19 +11,3 @@ export type LocalizerType = (
|
|||
key: string,
|
||||
values?: Array<string> | ReplacementValuesType
|
||||
) => string;
|
||||
|
||||
export type ColorType =
|
||||
| 'red'
|
||||
| 'deep_orange'
|
||||
| 'brown'
|
||||
| 'pink'
|
||||
| 'purple'
|
||||
| 'indigo'
|
||||
| 'blue'
|
||||
| 'teal'
|
||||
| 'green'
|
||||
| 'light_green'
|
||||
| 'blue_grey'
|
||||
| 'grey'
|
||||
| 'ultramarine'
|
||||
| 'signal-blue';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue