diff --git a/components/select/src/single-select/single-select.stories.js b/components/select/src/single-select/single-select.stories.js index 4ca9a827f8..df1271fda9 100644 --- a/components/select/src/single-select/single-select.stories.js +++ b/components/select/src/single-select/single-select.stories.js @@ -63,14 +63,6 @@ export default { }, } -const WithOptionsTemplate = () => ( - - - - - -) - export const WithOptionsAndOnChange = () => ( @@ -101,11 +93,7 @@ export const WithOnFocus = () => ( WithOnFocus.storyName = 'With onFocus' export const WithOnBlur = () => ( - + @@ -137,11 +125,7 @@ export const WithInvalidOptions = (args) => ( ) export const WithInvalidFilterableOptions = () => ( - +
invalid one
invalid two
@@ -158,11 +142,7 @@ WithInitialFocus.parameters = { docs: { disable: true } } WithInitialFocus.storyName = 'With initialFocus' export const Dense = () => ( - + @@ -172,10 +152,7 @@ export const Dense = () => ( export const Empty = () => export const EmptyWithEmptyText = () => ( - + ) export const EmptyWithEmptyComponent = () => ( @@ -194,11 +171,7 @@ export const WithOptionsAndLoading = () => ( ) export const WithOptionsLoadingAndLoadingText = () => ( - + @@ -253,11 +226,7 @@ export const WithOptionsAndDisabled = () => ( WithOptionsAndDisabled.storyName = 'With options and disabled' export const WithOptionsASelectionAndDisabled = () => ( - + @@ -267,10 +236,7 @@ WithOptionsASelectionAndDisabled.storyName = 'With options, a selection and disabled' export const WithPrefix = () => ( - + @@ -278,11 +244,7 @@ export const WithPrefix = () => ( ) export const WithPrefixAndSelection = () => ( - + @@ -315,10 +277,7 @@ export const WithRTL = () => { WithRTL.storyName = 'RTL Text' export const WithPlaceholder = () => ( - + @@ -348,12 +307,7 @@ export const WithDisabledOptionAndOnChange = () => ( WithDisabledOptionAndOnChange.storyName = 'With disabled option and onChange' export const WithClearButtonSelectionAndOnChange = () => ( - +