import React, { ReactNode } from "react"; import { XHComponentCommonProps } from "../../types"; export declare type LicensePlateProps = { value: string; onChange: (index: string) => void; /** * 是否默认展示键盘 */ showKeyboard?: boolean; closeText?: string; label?: ReactNode; onFinish?: () => void; padding?: boolean; border?: boolean; autoScroll?: boolean; dataTrackId?: string; } & XHComponentCommonProps; export declare type LicensePlateInputRef = { /** * 是否有效,组件会用大写字母(O) 来代替空位,如果要自己校验,那么就得判断有没有“O”来判断有没有空格 */ isValid: boolean; }; declare const LicensePlateInput: React.ForwardRefExoticComponent<{ value: string; onChange: (index: string) => void; /** * 是否默认展示键盘 */ showKeyboard?: boolean | undefined; closeText?: string | undefined; label?: ReactNode; onFinish?: (() => void) | undefined; padding?: boolean | undefined; border?: boolean | undefined; autoScroll?: boolean | undefined; dataTrackId?: string | undefined; } & XHComponentCommonProps & React.RefAttributes>; export default LicensePlateInput;