import { FC, ReactNode } from 'react'; import { UseSwitchProps } from '../../hooks/useSwitch/useSwitch'; export type SwitchProps = UseSwitchProps & { fallback?: ReactNode; }; /** * Component that makes sure the first matching path renders. * * Note: This component mainly uses `useSwitch` hook. */ declare const Switch: FC; export default Switch;