Ghost/ghost/members-auth-pages/components/PasswordInput.js

19 lines
451 B
JavaScript
Raw Normal View History

import FormInput from './FormInput';
2019-05-07 11:29:07 +03:00
import {IconLock} from './icons';
export default ({value, error, children, onInput, className}) => (
<FormInput
type="password"
name="password"
label="Password"
value={value}
error={error}
icon={IconLock}
placeholder="Password..."
required={true}
className={className}
onInput={onInput}>
{ children }
</FormInput>
);