blob: c242b459d730488842efb8299ea1c995922eb836 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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>
);
|