import React, { ReactNode } from 'react'; import { ABP } from '@abpjs/core'; /** * Props for the RoutesComponent. * @since 2.7.0 * @updated 2.9.0 - Removed isDropdownChildDynamic prop */ export interface RoutesComponentProps { /** Whether the screen is small (mobile) */ smallScreen?: boolean; /** Default icon for routes without specific icons */ defaultIcon?: ReactNode; /** Custom routes to display (overrides config routes) */ routes?: ABP.FullRoute[]; } /** * Public API component for rendering navigation routes. * Displays the visible routes from the config with support for * collapsible child routes. * * This component is part of the theme-basic public API and can be * replaced using the component replacement system with eThemeBasicComponents.Routes. * * @since 2.7.0 - Added as public API component * * @example * ```tsx * // Basic usage - uses routes from config * * * // With custom default icon * } /> * * // With custom routes * * ``` */ export declare function RoutesComponent({ smallScreen: _smallScreen, defaultIcon, routes: customRoutes, }: RoutesComponentProps): React.ReactElement; export default RoutesComponent;