UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

41 lines (40 loc) 850 B
import React from 'react'; export declare const NJNavbarItem: React.ForwardRefExoticComponent<INavbarItemProps & React.RefAttributes<HTMLLIElement>>; export interface INavbarItemProps { /** * Item id */ id: string; /** * Link href */ href?: string; /** * Link title */ title?: string; /** * Link target */ target?: '_blank' | '_self'; /** * text or Icon component */ children: React.ReactNode; /** * Get item id and event */ onClickItem?: (id: string, event: React.MouseEvent<HTMLAnchorElement>) => void; /** * Optional additional className */ className?: string; /** * Whether item is disabled or not */ isDisabled?: boolean; /** * Whether item is active or not */ isActive?: boolean; }