mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
fix: types error
This commit is contained in:
parent
df1428e33d
commit
a4854084bc
@ -24,7 +24,7 @@ const collapseProps = () => ({
|
||||
const panelProps = () => ({
|
||||
openAnimation: PropTypes.object,
|
||||
prefixCls: PropTypes.string,
|
||||
header: PropTypes.oneOfType([PropTypes.string, PropTypes.number, PropTypes.node]),
|
||||
header: PropTypes.any,
|
||||
headerClass: PropTypes.string,
|
||||
showArrow: PropTypes.looseBool,
|
||||
isActive: PropTypes.looseBool,
|
||||
|
@ -286,7 +286,7 @@ DOMWrap.props = {
|
||||
prefixCls: PropTypes.string,
|
||||
level: PropTypes.number,
|
||||
theme: PropTypes.string,
|
||||
overflowedIndicator: PropTypes.node,
|
||||
overflowedIndicator: PropTypes.any,
|
||||
visible: PropTypes.looseBool,
|
||||
hiddenClassName: PropTypes.string,
|
||||
tag: PropTypes.string.def('div'),
|
||||
|
@ -46,7 +46,7 @@ const SelectTrigger = {
|
||||
isMultiple: PropTypes.looseBool,
|
||||
dropdownPrefixCls: PropTypes.string,
|
||||
dropdownVisibleChange: PropTypes.func,
|
||||
popupElement: PropTypes.node,
|
||||
popupElement: PropTypes.any,
|
||||
open: PropTypes.looseBool,
|
||||
},
|
||||
created() {
|
||||
|
@ -18,7 +18,7 @@ export function valueProp(...args) {
|
||||
if (isLabelInValue(props)) {
|
||||
const err = genArrProps(
|
||||
PropTypes.shape({
|
||||
label: PropTypes.node,
|
||||
label: PropTypes.any,
|
||||
value: internalValProp,
|
||||
}).loose,
|
||||
)(...args);
|
||||
|
Loading…
Reference in New Issue
Block a user