@abgov/react-components
Version:
Government of Alberta - UI components for React
23 lines (22 loc) • 669 B
TypeScript
import { ReactNode, JSX } from 'react';
import { GoabIconType, Margins } from '@abgov/ui-components-common';
interface WCProps extends Margins {
heading: string;
icon?: GoabIconType;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-side-menu-group": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabSideMenuGroupProps extends Margins {
heading: string;
icon?: GoabIconType;
testId?: string;
children?: ReactNode;
}
export declare function GoabSideMenuGroup(props: GoabSideMenuGroupProps): JSX.Element;
export default GoabSideMenuGroup;