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