@carbon/ibm-products
Version:
Carbon for IBM Products
36 lines (35 loc) • 1.01 kB
TypeScript
export const blockClass: string;
export function NavItem({ activeHref, children, className, current, disabled, element, href, id, label, onClick, tabIndex, ...rest }: {
[x: string]: any;
activeHref?: string | undefined;
children?: any;
className: any;
current: any;
disabled?: boolean | undefined;
element?: string | undefined;
href: any;
id: any;
label: any;
onClick?: (() => void) | undefined;
tabIndex?: number | undefined;
}): React.JSX.Element;
export namespace NavItem {
export { componentName as displayName };
export namespace propTypes {
let activeHref: any;
let children: any;
let className: any;
let current: any;
let disabled: any;
let element: any;
let href: any;
let id: any;
let label: any;
let link: any;
let onClick: any;
let tabIndex: any;
}
}
export default NavItem;
import React from 'react';
declare const componentName: "NavItem";