react-elegant-ui
Version:
Elegant UI components, made by BEM best practices for react
12 lines • 609 B
JavaScript
import { withNativeControl } from './Select.hocs/withNativeControl';
import { Select as BaseSelect } from './Select';
export * from './Select';
// TODO: implement modal window with menu for mobile touch devices
/**
* Render native select for mobile touch devices only
*
* WARNING: don't use this for desktop because:
* - This control is not accessible from keyboard. It's just click hack (clickjacking) of native control
* - Native control with `multiple` attribute looks absolutely different and can't use on desktop and it even don't show by click
*/
export var Select = withNativeControl(BaseSelect);