baseui
Version:
A React Component library implementing the Base design language
16 lines (15 loc) • 685 B
TypeScript
import * as React from 'react';
import { StyledNavLink } from './styled-components';
import type { NavItemProps } from './types';
type SharedProps = Omit<React.ComponentProps<typeof StyledNavLink> & React.ComponentProps<typeof NavItem>, 'onSelect' | 'item' | 'overrides' | 'itemMemoizationComparator'>;
declare class NavItem extends React.Component<NavItemProps & SharedProps> {
static defaultProps: {
overrides: {};
onSelect: () => void;
};
handleClick: (event: Event) => void;
handleKeyDown: (event: KeyboardEvent) => void;
render(): React.JSX.Element;
}
declare const _default: React.MemoExoticComponent<typeof NavItem>;
export default _default;