Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / components / presets / Switch / typings.ts
Size: Mime:
import { ReactNode } from 'react'

// typings file
export type SwitchHandleToggleChange = (isSelected: boolean) => void
export interface SwitchProps {
  onToggle: (args: { isSelected: boolean; label: string }) => void
  label?: string
  className?: string
  renderWrap?: (props: any) => ReactNode
  isSelected?: boolean
}