Files
standardnotes-app-web/app/assets/javascripts/Components/Switch/SwitchProps.tsx
2022-05-30 12:42:52 +05:30

12 lines
226 B
TypeScript

import { ReactNode } from 'react'
export type SwitchProps = {
checked?: boolean
onChange?: (checked: boolean) => void
className?: string
children?: ReactNode
role?: string
disabled?: boolean
tabIndex?: number
}