@td-design/react-native
Version:
react-native UI组件库
9 lines • 449 B
TypeScript
import type { InputItemProps } from './InputItem';
export default function useInputItem({ inputType, value, defaultValue, onChange, onClear, }: Pick<InputItemProps, 'inputType' | 'value' | 'defaultValue' | 'onChange' | 'onClear'>): {
inputValue: string | undefined;
eyeOpen: boolean;
handleChange: (val: string) => void;
handleInputClear: () => void;
triggerPasswordType: () => void;
};
//# sourceMappingURL=useInputItem.d.ts.map