@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 637 B
TypeScript
import React, { ReactNode } from 'react';
import { TextProps } from "../../mantine/text";
import { TextSize } from "../../mantine/theme";
type Props = {
icon: JSX.Element;
children: ReactNode;
isCollapsed: boolean;
onLinkClick: () => void;
activeIcon?: JSX.Element;
isActive?: boolean;
textSize?: TextSize;
textType?: TextProps['weight'];
textColorActive?: string;
textColor?: string;
};
declare const MenuLink: ({ icon, isActive, children, isCollapsed, activeIcon, onLinkClick, textSize, textType, textColorActive, textColor, }: Props) => React.JSX.Element;
export { MenuLink };