mirror of
https://github.com/anna-sara/lan_kiosk
synced 2025-10-26 13:07:14 +01:00
17 lines
414 B
TypeScript
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
|
|
}
|
|
/>
|
|
);
|
|
}
|