@tractorzoom/radio

Wrapper for Material UI's RadioGroup

Usage no npm install needed!

<script type="module">
  import tractorzoomRadio from 'https://cdn.skypack.dev/@tractorzoom/radio';
</script>

README

@tractorzoom/text-field

Wrapper for Material UI's RadioGroup

Live Examples

Install

npm i --save @tractorzoom/radio

Radio Props

value required description
label yes string title
labelProps no object that will be spread as props to the label
onChange yes function to handle on change
options yes array of strings or object options
radioGroupProps no object that will be spread as props to the radio group
rootProps no object that will be spread as props to the root
value no string or object option that is selected

Contributing

We welcome improvements and fixes via PRs. Review the contributing guidelines in the repository readme for how to get started.