diff options
Diffstat (limited to 'frontend/src/components/Inputs/Password.js')
| -rw-r--r-- | frontend/src/components/Inputs/Password.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frontend/src/components/Inputs/Password.js b/frontend/src/components/Inputs/Password.js new file mode 100644 index 0000000..099aae4 --- /dev/null +++ b/frontend/src/components/Inputs/Password.js @@ -0,0 +1,14 @@ +import React from "react"; +import {Labelled} from "../decorators/Labelled"; +import {Input} from "../Common/Input"; + +export const Password = (props) => <Labelled label="password"> + <Input + name="pass" + placeholder={props.placeholder ?? "add password"} + type="password" + autoComplete="off" + onChange={props.onChange} + value={props.value} + id={props.id} /> +</Labelled>
\ No newline at end of file |