The props for the Switch component.
Represents the properties for the Switch component.
Optionalanimation?: "none" | "slideDown" | "fadeIn" | "scale"Optionalchildren?: (result: ISwitchResult) => ReactNodeOptionalclassName?: stringOptionalError?: anyOptionalfallback?: (e: Error) => voidOptionalForbidden?: anyOptionalhistory?: anyOptionalLoader?: anyOptionalNotFound?: anyOptionalonDispose?: () => voidOptionalonInit?: () => voidOptionalonLoadEnd?: (isOk?: boolean) => voidOptionalonLoadStart?: () => voidOptionalstyle?: anyOptionalthrowError?: booleanThe Switch component.
Represents a switch component that renders different elements based on the current location.