Skip to content

Commit

Permalink
Update MultiSelect.stories.js
Browse files Browse the repository at this point in the history
  • Loading branch information
riddhybansal authored Jun 26, 2024
1 parent 6646392 commit 96b2504
Showing 1 changed file with 0 additions and 118 deletions.
118 changes: 0 additions & 118 deletions packages/react/src/components/MultiSelect/MultiSelect.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,124 +258,6 @@ export const Default = () => {
);
};

export const Test = () => {
return (
<div style={{ padding: '2rem' }}>
<FilterableMultiSelect
style={{ marginTop: '3rem' }}
key={'t1'}
helperText="ABOVE"
label="label"
titleText={'Title'}
itemToString={(item) => item}
items={[
'AAAB1',
'AAAB2',
'AAAB3',
'AAAB4',
'AAAB5',
'AAAB6',
'AAAB7',
'AAAB8',
'AAAB9',
'AAABA',
'AAABB',
'AAABC',
'AAABD',
'AAABF',
]}
/>

<Tabs>
<TabList aria-label="List of tabs">
<Tab>Overview</Tab>
</TabList>

<div>
<FilterableMultiSelect
style={{ marginTop: '3rem' }}
key={'t1'}
helperText="INTABS"
label="label"
titleText={'Title'}
itemToString={(item) => item}
items={[
'AAAB1',
'AAAB2',
'AAAB3',
'AAAB4',
'AAAB5',
'AAAB6',
'AAAB7',
'AAAB8',
'AAAB9',
'AAABA',
'AAABB',
'AAABC',
'AAABD',
'AAABF',
]}
/>
</div>

<TabPanels>
<TabPanel>
<FilterableMultiSelect
style={{ marginTop: '3rem' }}
key={'t1'}
helperText="INTABS"
label="label"
titleText={'Title'}
itemToString={(item) => item}
items={[
'AAAB1',
'AAAB2',
'AAAB3',
'AAAB4',
'AAAB5',
'AAAB6',
'AAAB7',
'AAAB8',
'AAAB9',
'AAABA',
'AAABB',
'AAABC',
'AAABD',
'AAABF',
]}
/>
</TabPanel>
</TabPanels>
</Tabs>

<FilterableMultiSelect
style={{ marginTop: '3rem' }}
key={'t1'}
helperText="BELOW"
label="label"
titleText={'Title'}
itemToString={(item) => item}
items={[
'AAAB1',
'AAAB2',
'AAAB3',
'AAAB4',
'AAAB5',
'AAAB6',
'AAAB7',
'AAAB8',
'AAAB9',
'AAABA',
'AAABB',
'AAABC',
'AAABD',
'AAABF',
]}
/>
</div>
);
};

export const WithInitialSelectedItems = () => {
return (
<div
Expand Down

0 comments on commit 96b2504

Please sign in to comment.