mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
Fix undefined SelectPropTypes
This commit is contained in:
parent
a22a011c49
commit
3570458c31
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import RcSelect, { Option, OptGroup, SelectPropTypes as RcSelectPropTypes } from 'rc-select';
|
import RcSelect, { Option, OptGroup } from 'rc-select';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import warning from '../_util/warning';
|
import warning from '../_util/warning';
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ export interface SelectContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const SelectPropTypes = {
|
export const SelectPropTypes = {
|
||||||
...RcSelectPropTypes,
|
...RcSelect.propTypes,
|
||||||
prefixCls: PropTypes.string,
|
prefixCls: PropTypes.string,
|
||||||
className: PropTypes.string,
|
className: PropTypes.string,
|
||||||
size: PropTypes.oneOf(['default', 'large', 'small']),
|
size: PropTypes.oneOf(['default', 'large', 'small']),
|
||||||
|
Loading…
Reference in New Issue
Block a user