amis-rpc-design/node_modules/rc-select/es/hooks/useBaseProps.js

10 lines
292 B
JavaScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
/**
* BaseSelect provide some parsed data into context.
* You can use this hooks to get them.
*/
import * as React from 'react';
export var BaseSelectContext = /*#__PURE__*/React.createContext(null);
export default function useBaseProps() {
return React.useContext(BaseSelectContext);
}