mirror of
https://github.com/chatwoot/chatwoot.git
synced 2026-06-13 21:01:16 +08:00
Porting changes from https://github.com/chatwoot/chatwoot/pull/10552 --------- Co-authored-by: Pranav <[email protected]> Co-authored-by: Sivin Varghese <[email protected]> Co-authored-by: Vishnu Narayanan <[email protected]> Co-authored-by: Sojan <[email protected]> Co-authored-by: iamsivin <[email protected]> Co-authored-by: Pranav <[email protected]>
18 lines
461 B
JavaScript
18 lines
461 B
JavaScript
export const VARIANT_OPTIONS = ['solid', 'outline', 'faded', 'link', 'ghost'];
|
|
export const COLOR_OPTIONS = ['blue', 'ruby', 'amber', 'slate', 'teal'];
|
|
export const SIZE_OPTIONS = ['xs', 'sm', 'md', 'lg'];
|
|
export const JUSTIFY_OPTIONS = ['start', 'center', 'end'];
|
|
|
|
export const EXCLUDED_ATTRS = [
|
|
'variant',
|
|
'color',
|
|
'size',
|
|
'icon',
|
|
'trailingIcon',
|
|
'isLoading',
|
|
...VARIANT_OPTIONS,
|
|
...COLOR_OPTIONS,
|
|
...SIZE_OPTIONS,
|
|
...JUSTIFY_OPTIONS,
|
|
];
|