@dnanpm/styleguide
Version:
DNA Styleguide repository provides the set of components and theme object used in various DNA projects.
10 lines (9 loc) • 401 B
TypeScript
import React from 'react';
import type { MenuLevelItem } from '../types/globalNavProps';
interface LinkModifierProps {
menuItem: MenuLevelItem;
tabIndex: boolean;
}
export declare const isSelected: (currentUrl: string, linkUrl: string, exactMatch?: boolean) => boolean;
declare const LinkModifier: ({ menuItem, tabIndex }: LinkModifierProps) => React.JSX.Element;
export default LinkModifier;