lion/packages/input-amount/README.md
Thomas Allmer 89b835a799 feat: improved storybook demos
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-01-13 13:58:03 +01:00

27 lines
585 B
Markdown

# Input Amount
[//]: # 'AUTO INSERT HEADER PREPUBLISH'
`lion-input-amount` component is based on the generic text input field. Its purpose is to provide a way for users to fill in an amount.
## Live Demo/Documentation
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/forms-input-amount) for a live demo and API documentation
## How to use
### Installation
```sh
npm i --save @lion/input-amount
```
```js
import '@lion/input-amount/lion-input-amount.js';
```
### Example
```html
<lion-input-amount name="amount" currency="USD"></lion-input-amount>
```