mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-30 18:47:51 +00:00 
			
		
		
		
	 7fd8b4d03a
			
		
	
	7fd8b4d03a
	
	
	
		
			
			Porting changes from https://github.com/chatwoot/chatwoot/pull/10552 --------- Co-authored-by: Pranav <pranav@chatwoot.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com> Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Pranav <pranavrajs@gmail.com>
		
			
				
	
	
		
			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,
 | |
| ];
 |