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    
Size: Mime:
import { CommonState } from 'src/state/typings'

export type ToggleState = CommonState
export interface ToggleOnChange {
  (props: ToggleProps): any
}
export interface ToggleOnClick {
  (props: ToggleProps ): any
}
export interface ToggleProps {
  isRadio?: boolean
  isCheckbox?: boolean
  // isColor?: boolean
  identifier?: string
  name?: string
  index?: number
  value?: string | number | boolean
  label?: string
  // shouldAlignRight?: boolean

  // filterLabel?: string

  // @deprecated
  // classes?: DeprecatedFunction
  className?: string

  // labelish
  text?: string
  secondaryText?: string
  count?: string
  image?: string

  // isSelected?: boolean
  // isActive?: boolean
  // isEnable?: boolean

  // onChange?: ToggleOnChange
  // onToggle?: ToggleOnClick
  onClick?: ToggleOnClick
  onValueChange?: ToggleOnChange

  labelText?: string

  type?: string
}