@crave/farmblocks-amount-selectors

Amount selectors

Usage no npm install needed!

<script type="module">
  import craveFarmblocksAmountSelectors from 'https://cdn.skypack.dev/@crave/farmblocks-amount-selectors';
</script>

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