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