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 / dist / components / presets / Switch / typings.d.ts
Size: Mime:
import { ReactNode } from 'react';
export declare 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;
}