aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Inputs/Password.js
blob: 68775749ae4956c38302b4ad019cbbd3114bb398 (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="add password"
    type="password"
    autoComplete="off"
    onChange={props.onChange}
    value={props.value}
    id={props.id} />
</Labelled>