cdbreact
Version:
Elegant UI kit and reusable components for building mobile-first, responsive websites and web apps
24 lines (23 loc) • 663 B
TypeScript
import React from 'react';
import PropTypes from 'prop-types';
interface Props {
active?: boolean;
children?: React.ReactNode;
className?: string;
tag?: [Function, string];
text?: any;
}
declare const NavItem: {
(props: Props): React.JSX.Element;
propTypes: {
active: PropTypes.Requireable<boolean>;
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
className: PropTypes.Requireable<string>;
tag: PropTypes.Requireable<string | ((...args: any[]) => any)>;
};
defaultProps: {
tag: string;
};
};
export default NavItem;
export { NavItem as CDBNavItem };