vehicle-plate-keyboard
React 实现的车牌键盘。
https://github.com/LiuuY/vehicle-plate-keyboard
"color: #ff0000">"text-align: center">
"htmlcode">
"htmlcode">
API
📝 License MIT License 以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持。
yarn add vehicle-plate-keyboard
import LicenseKeyboard from 'vehicle-plate-keyboard';
import 'vehicle-plate-keyboard/dist/main.css';
...
<LicenseKeyboard
visible={state.showKeyboard}
onChange={value => setState({ value })}
value={state.value}
done={() => setState({ showKeyboard: false })}
/>
props
type
description
visiable
boolean
keyboard visible
onChange
(value: string) => void
trigger when user tap
value
string
controlled value
done
() => void
trigger when keyborad dismiss
confirmButtonStyle
React.CSSProperties
confirm button style
confirmButtonText
string
confirm button text
cellTextStyle
React.CSSProperties
keycell style
safeArea
boolean
show safearea
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com