@td-design/react-native
Version:
react-native UI组件库
11 lines • 593 B
TypeScript
import { ImperativeModalChildrenProps } from '../modal/type';
import { VehicleKeyboardModalProps, VehicleKeyboardType } from './type';
export default function useVehicleKeyboardModal({ value, onPress, onDelete, onSubmit, closeModal, }: Pick<ImperativeModalChildrenProps<VehicleKeyboardModalProps>, 'value' | 'onPress' | 'onDelete' | 'onSubmit' | 'closeModal'>): {
text: string;
type: VehicleKeyboardType;
textArr: string[];
handleChange: (key: string) => void;
handleSubmit: () => void;
handleDelete: () => void;
};
//# sourceMappingURL=useVehicleKeyboardModal.d.ts.map