UNPKG

@fto-consult/expo-ui

Version:

Bibliothèque de composants UI Expo,react-native

23 lines (22 loc) • 726 B
import SelectField from "./SelectField"; import SelectFontIcon from "$ecomponents/Icon/SelectFontIcon"; export default class FormFieldSelectFontIcon extends SelectField{ _render (props){ return <SelectFontIcon {...props} ref = {(el)=>{ this._field = el; }} onMount = {({context,...rest})=>{ this._field = context; if(typeof props.onMount =='function'){ props.onMount({context,...rest}); } }} onChange = {this.validateWithCallOnChange.bind(this)} /> } } FormFieldSelectFontIcon.propTypes = { ...SelectField.propTypes, }