diff --git a/packages/grafana-ui/src/components/Forms/InlineField.story.tsx b/packages/grafana-ui/src/components/Forms/InlineField.story.tsx index 384e5aa98de..da42f012f3a 100644 --- a/packages/grafana-ui/src/components/Forms/InlineField.story.tsx +++ b/packages/grafana-ui/src/components/Forms/InlineField.story.tsx @@ -1,8 +1,8 @@ -import { action } from '@storybook/addon-actions'; import { Meta, StoryFn } from '@storybook/react'; +import { useState } from 'react'; +import { Combobox } from '../Combobox/Combobox'; import { Input } from '../Input/Input'; -import { Select } from '../Select/Select'; import { InlineField } from './InlineField'; import mdx from './InlineField.mdx'; @@ -75,24 +75,22 @@ grow.args = { grow: true, }; -export const withSelect: StoryFn = (args) => { +export const withCombobox: StoryFn = (args) => { + const comboboxOptions = [ + { value: 1, label: 'One' }, + { value: 2, label: 'Two' }, + ]; + const [selected, setSelected] = useState(1); return ( - {}} /> + {}} /> );