Lilact
    Preparing search index...

    Function NavLink

    • React navigation link component (like a typed NavLink) that forwards props and supports common link attributes.

      Parameters

      • props: {
            activeClassName?: string;
            activeStyle: any;
            children: any;
            className: any;
            download: any;
            end?: boolean;
            onClick: any;
            replace?: boolean;
            state: any;
            style: any;
            target: any;
            to: any;
        }

        Component props.

        • OptionalactiveClassName?: string
        • activeStyle: any
        • children: any

          Content rendered inside the link.

        • className: any

          CSS class name(s) applied to the underlying element.

        • download: any

          Enables download behavior for the link (sets the download attribute).

        • Optionalend?: boolean
        • onClick: any

          Click handler invoked when the link is activated.

        • Optionalreplace?: boolean

          If true, replaces the current history entry instead of pushing a new one.

        • state: any

          Optional navigation state passed along with the route transition.

        • style: any

          Inline styles applied to the underlying element.

        • target: any

          Sets the link target attribute (e.g., "_blank").

        • to: any

          Target location (route) to navigate to.

      Returns HTMLComponent