|
|
@ -4,7 +4,14 @@ import "./index.scss"; |
|
|
|
export default function Radio(props) { |
|
|
|
export default function Radio(props) { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="radio flex items-center"> |
|
|
|
<div className="radio flex items-center"> |
|
|
|
<input id="radio-1" name={props.name} type="radio" checked={props.active} onChange={() => {}} /> |
|
|
|
<input |
|
|
|
|
|
|
|
id="radio-1" |
|
|
|
|
|
|
|
name={props.name} |
|
|
|
|
|
|
|
type="radio" |
|
|
|
|
|
|
|
className="accent-pink-500" |
|
|
|
|
|
|
|
checked={props.active} |
|
|
|
|
|
|
|
onChange={() => {}} |
|
|
|
|
|
|
|
/> |
|
|
|
<label htmlFor="radio-1" className="radio-label text-xs"> |
|
|
|
<label htmlFor="radio-1" className="radio-label text-xs"> |
|
|
|
{/* {props.label} */} |
|
|
|
{/* {props.label} */} |
|
|
|
</label> |
|
|
|
</label> |
|
|
|