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.
14 lines
406 B
14 lines
406 B
import { InputHTMLAttributes } from 'react';
|
|
|
|
export default function Checkbox({ className = '', ...props }: InputHTMLAttributes<HTMLInputElement>) {
|
|
return (
|
|
<input
|
|
{...props}
|
|
type="checkbox"
|
|
className={
|
|
'rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500 ' +
|
|
className
|
|
}
|
|
/>
|
|
);
|
|
}
|