2.2.0 • Published 2 years ago
@hig/input v2.2.0
Input
Inputs allow the user to input a small amount of freeform text (100 characters or less).
Read more about when and how to use the Input component on the website.
Getting started
Install the package
yarn add @hig/input @hig/theme-context @hig/theme-data
Import the component
import Input from '@hig/input';
Basic usage
<Input
value={this.state.value}
onChange={this.handleChange}
/>
Custom CSS
Use the className
prop to pass in a css class name to the outermost container of the component. The class name will also pass down to most of the other styled elements within the component.
2.2.0
2 years ago
1.3.2
2 years ago
1.3.1
2 years ago
2.1.0
2 years ago
2.0.0
2 years ago
1.3.0
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
5 years ago
1.1.6
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago