vehicle-license-keyboard
v0.2.8
Published
vehicle-license-keyboard
Downloads
53
Readme
vehicle-license-keyboard
Usage
import LicenseKeyboard from 'vehicle-license-keyboard';
...
<LicenseKeyboard
visible={this.state.showKeyboard}
onChange={value => this.setState({ value })}
value={this.state.value}
done={() => this.setState({ showKeyboard: false })}
/>Api
visible: boolean
control keyboard visibleonChange: value: (string) => void
when user enter then return current valuevalue: string
used as a controlled value. keyboard will show based on this valuedone: () => void
call when keyboard dismissconfirmButtonStyle: StyleProps
custom confirm button styleconfirmButtonText: string
custom confirm button textcellTextStyle: StyleProps
custom cell text stylesafeArea: boolean
whether show safearea padding bottom for iphone X/Xs/XR/Xs MaxcontainerStyle: StyleProps
overwrite style of keyboard containerzIndex: number
overwrite zIndex style of keyboard wrapper