mirror of
https://github.com/trezor/trezor-wallet
synced 2024-12-25 00:18:07 +00:00
Added placeholder for input
This commit is contained in:
parent
81ccc8e347
commit
ccd6e789bc
@ -47,9 +47,10 @@ const StyledInput = styled.input`
|
||||
`;
|
||||
|
||||
const Input = ({
|
||||
type, autoComplete, autoCorrect, autoCapitalize, spellCheck, value, onChange, isValid, isWarning, isError,
|
||||
type, autoComplete, autoCorrect, autoCapitalize, spellCheck, value, onChange, isValid, isWarning, isError, placeholder,
|
||||
}) => (
|
||||
<StyledInput
|
||||
placeholder={placeholder}
|
||||
type={type}
|
||||
autoComplete={autoComplete}
|
||||
autoCorrect={autoCorrect}
|
||||
@ -64,6 +65,7 @@ const Input = ({
|
||||
);
|
||||
|
||||
Input.propTypes = {
|
||||
placeholder: PropTypes.string,
|
||||
type: PropTypes.string,
|
||||
autoComplete: PropTypes.string,
|
||||
autoCorrect: PropTypes.string,
|
||||
|
Loading…
Reference in New Issue
Block a user