Sha256: 2a405718b045eb76fecce1ab581120e8b975209233175cc62e86804eee3ce2b6

Contents?: true

Size: 429 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
kaze-0.8.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx
kaze-0.7.0 stubs/inertia-react-ts/app/javascript/Components/Checkbox.tsx