@crave/farmblocks-amount-selectors

Amount selectors

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
2023Jun 15, 2021Aug 23, 2017Minified + gzip package size for @crave/farmblocks-amount-selectors in KB

Readme

Farmblocks Amount selectors

An amount selector component

Installation

npm install @crave/farmblocks-amount-selectors

Usage

import AmountSelectors from "@crave/farmblocks-amount-selectors";
const Form = () => (
  <AmountSelectors
    onChange={handleChanges}
    max={100}
    min={1}
    onRemoveClick={handleRemoveClick}
  />
);

For more examples and details on the available props, read the docs.

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.