Sha256: e9a42b9bc294a5570c134071de6de8e412ee570c027488297b1448c8ed7c6b07

Contents?: true

Size: 425 Bytes

Versions: 10

Compression:

Stored size: 425 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

10 entries across 10 versions & 1 rubygems

Version Path
kaze-0.18.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.17.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.16.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.15.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.14.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.13.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.12.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.11.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.10.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.9.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx