fix: Added fullWidth property on button components to set them as full width
Approved-by: Matilda Landström
This commit is contained in:
@@ -30,12 +30,17 @@ export const config = {
|
||||
true: undefined,
|
||||
false: styles['no-wrapping'],
|
||||
},
|
||||
fullWidth: {
|
||||
true: styles['full-width'],
|
||||
false: undefined,
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
variant: 'Primary',
|
||||
color: 'Primary',
|
||||
size: 'Large',
|
||||
wrapping: true,
|
||||
fullWidth: false,
|
||||
},
|
||||
} as const
|
||||
|
||||
|
||||
Reference in New Issue
Block a user