mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add missing select options for controls (#35178)
This commit is contained in:
parent
2e9ad871b3
commit
f683a497eb
@ -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;
|
||||||
|
|
||||||
|
@ -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'] },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user