Sha256: 90b8fd0a0fba05f743b31cb6432b6360b049061bf5d2dc8312f6e3ce75cbee26
Contents?: true
Size: 503 Bytes
Versions: 5
Compression:
Stored size: 503 Bytes
Contents
import { InputHTMLAttributes } from 'react'; export default function Checkbox({ className = '', ...props }: InputHTMLAttributes<HTMLInputElement>) { return ( <input {...props} type="checkbox" className={ 'rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800 ' + className } /> ); }
Version data entries
5 entries across 5 versions & 1 rubygems