UNPKG

@mskcc/carbon-react

Version:

Carbon react components for the MSKCC DSM

22 lines (21 loc) 805 B
/** * MSKCC DSM 2021, 2023 */ import { type ComponentProps } from 'react'; import PropTypes from 'prop-types'; type HeaderNavigationProps = ComponentProps<'nav'>; declare function HeaderNavigation({ 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, children, className: customClassName, ...rest }: HeaderNavigationProps): JSX.Element; declare namespace HeaderNavigation { var propTypes: { /** * Provide valid children of HeaderNavigation, for example `HeaderMenuItem` * or `HeaderMenu` */ children: PropTypes.Requireable<PropTypes.ReactNodeLike>; /** * Optionally provide a custom class to apply to the underlying <nav> node */ className: PropTypes.Requireable<string>; }; } export default HeaderNavigation;