0.1.9 • Published 5 years ago

@clipmx/counter v0.1.9

Weekly downloads
1
License
-
Repository
-
Last release
5 years ago

Clip Counter

Installation

npm install @clipmx/counter --save

Usage

import React from 'react';
import Counter from '@clipmx/counter';

const MyComponent = ({ ...props }) => (
  <div>
    <Counter {...props} />
  </div>
);

export default MyComponent;

Props

  • startAdornment: Element to show on the first button
  • endAdornment: Element to show on the last button
  • value: Default value for the counter
  • disabled: Disable the component.
  • onChange: Function to trigger when the value is changed
  • maxValue: Maximum value that the component will allow
  • minValue: Minimum value that the component will allow
  • step: Step size
0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.0.1

6 years ago