alobato / radio

Radio react component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radio

Radio react component

Install

yarn add @alobato/radio

Usage

import Radio from '@alobato/radio'
...
<Radio disabled={false} label={option.label} onChange={() => handleChange(option.value)} checked={option.value === value} />

About

Radio react component

License:MIT License


Languages

Language:JavaScript 100.0%