@uiw/react-select
Advanced tools
Comparing version 5.0.0-bate-3 to 5.0.0-bate-4
@@ -9,9 +9,8 @@ import React from 'react'; | ||
} | ||
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>; | ||
declare type Select = typeof Select & { | ||
declare const Select: SelectComponent; | ||
declare type SelectComponent = React.FC<React.PropsWithRef<SelectProps>> & { | ||
Option: typeof Option; | ||
Group: typeof Group; | ||
}; | ||
declare const _default: Select; | ||
export default _default; | ||
export default Select; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -39,3 +39,3 @@ "use strict"; | ||
var Select = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) { | ||
var InternalSelect = function InternalSelect(props, ref) { | ||
var _props$prefixCls = props.prefixCls, | ||
@@ -55,4 +55,6 @@ prefixCls = _props$prefixCls === void 0 ? 'w-select' : _props$prefixCls, | ||
})); | ||
}); | ||
}; | ||
var Select = /*#__PURE__*/_react["default"].forwardRef(InternalSelect); | ||
Select.Option = _Option["default"]; | ||
@@ -59,0 +61,0 @@ Select.Group = _Group["default"]; |
@@ -9,9 +9,8 @@ import React from 'react'; | ||
} | ||
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>; | ||
declare type Select = typeof Select & { | ||
declare const Select: SelectComponent; | ||
declare type SelectComponent = React.FC<React.PropsWithRef<SelectProps>> & { | ||
Option: typeof Option; | ||
Group: typeof Group; | ||
}; | ||
declare const _default: Select; | ||
export default _default; | ||
export default Select; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,3 +10,4 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
export * from './style'; | ||
var Select = /*#__PURE__*/React.forwardRef((props, ref) => { | ||
var InternalSelect = (props, ref) => { | ||
var { | ||
@@ -27,3 +28,5 @@ prefixCls = 'w-select', | ||
})); | ||
}); | ||
}; | ||
var Select = /*#__PURE__*/React.forwardRef(InternalSelect); | ||
Select.Option = Option; | ||
@@ -30,0 +33,0 @@ Select.Group = Group; |
{ | ||
"name": "@uiw/react-select", | ||
"version": "5.0.0-bate-3", | ||
"version": "5.0.0-bate-4", | ||
"description": "Select component", | ||
@@ -48,4 +48,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/utils": "^5.0.0-bate-3" | ||
"@uiw/utils": "^5.0.0-bate-4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60296
526
Updated@uiw/utils@^5.0.0-bate-4