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

Version Path
kaze-0.5.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.4.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.3.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.2.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.1.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx