react-accounting-textfield
v1.2.11
Published
A React component for currency textfield
Downloads
175
Readme
Docs
Package
NPM package
Quick Start
If you want to use npm
, you can use this command.
npm i react-accounting-textfield
Maybe you want to use yarn
.
yarn add react-accounting-textfield
imports
Import this module
import CurrencyInput from 'react-accounting-textfield'
Styles
If you want a default stylesheet, you should import the style:
import 'react-accounting-textfield/dist/styles.css'
If you want a flecto theme stylesheet, you should import the style:
import 'react-accounting-textfield/dist/theme/flecto.css'
Tests
Storybook provides a clean-room environment for testing components in isolation. Stories make it easy to explore a component in all its variations, no matter how complex.
That means stories are a pragmatic starting point for your UI testing strategy. You already write stories as a natural part of UI development, testing those stories is a low-effort way to prevent UI bugs over time.
yarn test-storybook
Docs: https://storybook.js.org/docs/react/writing-tests/introduction
How to contribute
Start
You can check our Issues, or you can create a new one, and fork this project, finally open a PR to dev
branch.
I'll be quick to implement and improve this package, and if you open a pull request, i'll help you with a new release as soon as possible.
Changelog
follow this pattern:
https://keepachangelog.com/en/1.0.0/