lan_kiosk/resources/js/Components/Checkbox.tsx
Anna-Sara Sélea 47e16e7ca2 Breeze setup
2025-04-19 19:02:21 +02:00

17 lines
414 B
TypeScript

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
}
/>
);
}