@posten-hedwig/input

4.1.2 • Public • Published

input

Hedwig styled input fields

Usage

1 Install

npm install @posten-hedwig/input

2 Import

import { TextInput } from '@posten-hedwig/input'
import { NumberInput } from '@posten-hedwig/input'
import { EmailInput } from '@posten-hedwig/input'
import { PasswordInput } from '@posten-hedwig/input'

3 Render

<TextInput
  label="Text input"
  onChange={() => {}}
  placeholder="placeholder"
/>

<NumberInput
  label="Number input"
  max={5}
  min={1}
  onChange={() => {}}
  placeholder="select a number 1-5"
/>

<EmailInput
  label="Email input"
  onChange={() => {}}
  placeholder="placeholder"
/>

<PasswordInput
  label="Password"
  onChange={() => {}}
  placeholder="placeholder"
/>

Readme

Keywords

Package Sidebar

Install

npm i @posten-hedwig/input

Weekly Downloads

20

Version

4.1.2

License

ISC

Unpacked Size

50.7 kB

Total Files

8

Last publish

Collaborators

  • amitjagtap04
  • harald.vinje
  • hellehi
  • viggooo