Skip to content

Commit

Permalink
chore: removing menuIsOpen prop from Storybook (#2648)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Cortizas <[email protected]>
  • Loading branch information
chloe0592 and CarlosCortizasCT authored Nov 24, 2023
1 parent 1bc25e4 commit dc24278
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class SelectStory extends Component {
static displayName = 'SelectStory';
render() {
const isMulti = boolean('isMulti', false);
const menuIsOpen = boolean('menuIsOpen', false);
const defaultOptions = boolean('defaultOptions', true)
? colourOptions
: false;
Expand Down Expand Up @@ -98,7 +97,6 @@ class SelectStory extends Component {
isDisabled={boolean('isDisabled', false)}
isReadOnly={boolean('isReadOnly', false)}
isMulti={isMulti}
menuIsOpen={menuIsOpen}
isSearchable={boolean('isSearchable', true)}
maxMenuHeight={number('maxMenuHeight', 220)}
closeMenuOnSelect={boolean('closeMenuOnSelect', true)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class SearchSelectInputStory extends Component {
static displayName = 'SearchSelectInputStory';
render() {
const isMulti = boolean('isMulti', false);
const menuIsOpen = boolean('menuIsOpen', false);
const noOptionsMessage = text(
'No options message',
'No matches found for your search term'
Expand Down Expand Up @@ -101,7 +100,6 @@ class SearchSelectInputStory extends Component {
isMulti={isMulti}
noOptionsMessage={() => noOptionsMessage}
loadingMessage={loadingMessage}
menuIsOpen={menuIsOpen}
maxMenuHeight={number('maxMenuHeight', 220)}
closeMenuOnSelect={boolean('closeMenuOnSelect', true)}
name={text('name', 'form-field-name')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ storiesOf('Components|Inputs/SelectInputs', module)
},
];
const isMulti = boolean('isMulti', false);
const menuIsOpen = boolean('menuIsOpen', false);
const showOptionGroupDivider = boolean('Show option group divider', false);
const shouldMenuFlip = boolean('Show menu flipping above the input', false);
const iconLeft = icons[select('iconLeft', ['', ...iconNames])];
Expand Down Expand Up @@ -146,7 +145,6 @@ storiesOf('Components|Inputs/SelectInputs', module)
isDisabled={boolean('isDisabled', false)}
isReadOnly={boolean('isReadOnly', false)}
isMulti={isMulti}
menuIsOpen={menuIsOpen}
isSearchable={boolean('isSearchable', false)}
maxMenuHeight={number('maxMenuHeight', 220)}
closeMenuOnSelect={boolean('closeMenuOnSelect', true)}
Expand Down

1 comment on commit dc24278

@vercel
Copy link

@vercel vercel bot commented on dc24278 Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.