1.0.9 • Published 2 years ago

react-mui-counter v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Getting Started with React Material Counter

npm install react-mui-counter

Dependencies

Material UI/ MUI

Demo

Usage

import React from 'react'
import Counter from 'react-mui-counter'

const Demo = ()=>{
    return <Counter/>
}
export default Demo

Component name

The name Counter can be used when providing default props or style overrides in the theme.

Props

Props of the TextField component are also available.

NameTypeDefaultDescription
valuenumber0The value of the input element, required for a controlled component.
onChangefuncCallback fired when the value is changed. Signature:function(event: object) => void``event: The event source of the callback. You can pull out the new value by accessing event.target.value (number).
sxArray<func or object or bool> or func or objectThe system prop that allows defining system overrides as well as additional CSS styles. See the sx page for more details.
size'normal' or 'small'The size of the component.
disabledbooleanSets the whether the control is disabled

Note: This component can also be used with React Hook Form

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago