Repository URL to install this package:
|
Version:
0.9.5 ▾
|
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
}