@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
14 lines (12 loc) • 489 B
JavaScript
import React, { memo } from 'react';
import Portal from '../portal';
import SelectorBase from './selector';
import SelectorFn from './selector-fn';
import SelectorText from './selector-text';
const Selector = opt => SelectorFn(opt);
Selector.Component = /*#__PURE__*/memo(props => {
return /*#__PURE__*/React.createElement(Portal, null, /*#__PURE__*/React.createElement(SelectorBase, props));
});
Selector.Text = SelectorText;
export default Selector;
//# sourceMappingURL=index.js.map