import type { ExtractPropTypes, PropType } from 'vue'; /** * u-car-keyboard 车牌号键盘类型定义 * @description 供 u-car-keyboard 组件 props 使用 */ export const CarKeyboardProps = { /** 自定义根节点样式 */ customStyle: { type: [String, Object] as PropType>, default: () => ({}) }, /** 自定义根节点样式类 */ customClass: { type: String as unknown as PropType, default: '' }, /** 是否打乱键盘按键的顺序 */ random: { type: Boolean, default: false } }; export type CarKeyboardProps = ExtractPropTypes;