@react-ag-components/radiobutton
v0.0.1
Published
radio React component, extends from Material-ui
Downloads
2
Keywords
Readme
Messages
React RadioButton component for external web apps
Note: Messages has 4 types, warning, info, error and success
Usage
Install
npm i @react-ag-components/radiobutton --save
Use in your project
import RadioButton from '@react-ag-components/radiobutton'
<RadioButton />
Properties
- label
- defaultChecked -- boolean
- disabled
- inputStyle
- labelPosition -- 'left' or 'right'
- labelStyle
- onCheck
- style
Contributing
Get the repository
git clone https://github.com/alphillips/radio-button.git
Update dependencies
npm install
Run the project
npm start
Deploy to npm
Build
npm run build -- --copy-files
Publish
npm publish --access public