mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 22:19:48 +03:00
work
This commit is contained in:
parent
6647f00141
commit
0dda9e463c
|
@ -23,10 +23,5 @@ Select.propTypes = {
|
|||
isMulti: PropTypes.bool, // multi-value input
|
||||
isSearchable: PropTypes.bool, // whether to enable searching feature or not
|
||||
value: PropTypes.any, // initial field value
|
||||
// openOuterUp: PropTypes.bool, // value to control the opening direction
|
||||
};
|
||||
|
||||
Select.defaultProps = {
|
||||
isClearable: false,
|
||||
// menuMaxHeight: 200,
|
||||
menuPlacement: PropTypes.oneOf(['auto', 'bottom', 'top']), // value to control the opening direction
|
||||
};
|
||||
|
|
|
@ -33,11 +33,16 @@ const Template = ({ value, ...args }) => (
|
|||
export const Default = Template.bind({});
|
||||
Default.args = {
|
||||
value: 'one',
|
||||
// menuMaxHeight: 200,
|
||||
maxMenuHeight: 300,
|
||||
isClearable: false,
|
||||
isDisabled: false,
|
||||
isLoading: false,
|
||||
isMulti: false,
|
||||
isSearchable: true,
|
||||
// openOuterUp: false,
|
||||
menuPlacement: 'bottom',
|
||||
};
|
||||
Default.argTypes = {
|
||||
onChange: {
|
||||
action: 'selected',
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user