diff --git a/packages/grafana-ui/src/components/ConfirmButton/ConfirmButton.story.tsx b/packages/grafana-ui/src/components/ConfirmButton/ConfirmButton.story.tsx index 3613f7cff07..a4eae41f652 100644 --- a/packages/grafana-ui/src/components/ConfirmButton/ConfirmButton.story.tsx +++ b/packages/grafana-ui/src/components/ConfirmButton/ConfirmButton.story.tsx @@ -33,8 +33,13 @@ export default { closeOnConfirm: true, }, argTypes: { - confirmVariant: { control: { type: 'select' } }, - size: { control: { type: 'select' } }, + confirmVariant: { + control: { + type: 'select', + }, + options: ['primary', 'secondary', 'destructive', 'link'], + }, + size: { control: { type: 'select' }, options: ['xs', 'sm', 'md', 'lg'] }, }, } as Meta; diff --git a/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.story.tsx b/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.story.tsx index 65539d427b0..a51fdc6689f 100644 --- a/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.story.tsx +++ b/packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButtonGroup.story.tsx @@ -20,9 +20,10 @@ export default { argTypes: { disabledOptions: { 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'] }, }, };