diff --git a/packages/grafana-ui/src/components/Select/Select.story.tsx b/packages/grafana-ui/src/components/Select/Select.story.tsx index d4fca54b60b..7c69d7aa3d1 100644 --- a/packages/grafana-ui/src/components/Select/Select.story.tsx +++ b/packages/grafana-ui/src/components/Select/Select.story.tsx @@ -10,7 +10,7 @@ import { getAvailableIcons } from '../../types'; import { withCenteredStory, withHorizontallyCenteredStory } from '../../utils/storybook/withCenteredStory'; import mdx from './Select.mdx'; -import { generateOptions } from './mockOptions'; +import { generateOptions, generateThousandsOfOptions } from './mockOptions'; import { SelectCommonProps } from './types'; const meta: Meta = { @@ -105,6 +105,24 @@ export const Basic: Story = (args) => { ); }; +export const BasicVirtualizedList: Story = (args) => { + const [value, setValue] = useState>(); + + return ( + <> +