You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
462 B

import React from "react";
import "./index.scss";
export default function Radio(props) {
return (
<div className="radio flex items-center">
<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">
{/* {props.label} */}
</label>
</div>
);
}