import React, { SyntheticEvent } from 'react'; import TextInput, { TextInputProps } from './TextInput'; // Prevent a user from copying (or cutting) the password from the input function onCopy(e: SyntheticEvent) { e.preventDefault(); e.nativeEvent.stopImmediatePropagation(); } function PasswordInput(props: TextInputProps) { return ; } export default PasswordInput;