(cherry picked from commit f683a497eb)
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
This commit is contained in:
co-authored by
Alex Khomenko
parent
bc49ceddb7
commit
3fa0811d6b
@@ -33,8 +33,13 @@ export default {
|
|||||||
closeOnConfirm: true,
|
closeOnConfirm: true,
|
||||||
},
|
},
|
||||||
argTypes: {
|
argTypes: {
|
||||||
confirmVariant: { control: { type: 'select' } },
|
confirmVariant: {
|
||||||
size: { control: { type: 'select' } },
|
control: {
|
||||||
|
type: 'select',
|
||||||
|
},
|
||||||
|
options: ['primary', 'secondary', 'destructive', 'link'],
|
||||||
|
},
|
||||||
|
size: { control: { type: 'select' }, options: ['xs', 'sm', 'md', 'lg'] },
|
||||||
},
|
},
|
||||||
} as Meta;
|
} as Meta;
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -20,9 +20,10 @@ export default {
|
|||||||
argTypes: {
|
argTypes: {
|
||||||
disabledOptions: {
|
disabledOptions: {
|
||||||
name: 'Disabled item',
|
name: 'Disabled item',
|
||||||
control: { type: 'select', options: ['', 'graphite', 'prometheus', 'elastic'] },
|
control: { type: 'select' },
|
||||||
|
options: ['', 'graphite', 'prometheus', 'elastic'],
|
||||||
},
|
},
|
||||||
size: { control: { type: 'select' } },
|
size: { control: { type: 'select' }, options: ['xs', 'sm', 'md', 'lg'] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user