Ghost/ghost/members-auth-pages/components/PasswordInput.js
Fabien O'Carroll 1bad6dee4e Fixed linting for auth-pages
no-issue
2019-05-07 17:15:50 +02:00

19 lines
451 B
JavaScript

import FormInput from './FormInput';
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>
);