Represents the properties for the Switch component.

interface ISwitchProps {
    animation?: "none" | "slideDown" | "fadeIn" | "scale";
    children?: (result: ISwitchResult) => ReactNode;
    className?: string;
    Error?: any;
    fallback?: (e: Error) => void;
    Forbidden?: any;
    history?: any;
    items: ISwitchItem[];
    Loader?: any;
    NotFound?: any;
    onDispose?: () => void;
    onInit?: () => void;
    onLoadEnd?: (isOk?: boolean) => void;
    onLoadStart?: () => void;
    style?: any;
    throwError?: boolean;
}

Properties

animation?: "none" | "slideDown" | "fadeIn" | "scale"
children?: (result: ISwitchResult) => ReactNode
className?: string
Error?: any
fallback?: (e: Error) => void
Forbidden?: any
history?: any
items: ISwitchItem[]
Loader?: any
NotFound?: any
onDispose?: () => void
onInit?: () => void
onLoadEnd?: (isOk?: boolean) => void
onLoadStart?: () => void
style?: any
throwError?: boolean