aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs/Password.js
blob: 099aae4f1b3c56e9ce6d601930f5dbb264edd8bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>