import * as React from "react"; import { IconName } from "../../Icon/Icon"; export type NavigationRailExpansionMenuProps = React.ComponentPropsWithoutRef<"div"> & { title: string; /** * If `true`, it is highlighted. */ isActive?: boolean; iconName: IconName; /** * If not `0`, the number is located on the upper right. */ notificationCount?: number; /** * Array of `` is expected. */ expansionList?: React.ReactNode[]; /** * If `true`, it is expanded as default. */ defaultExpand?: boolean; /** * It can define callback function that triggered when this component is `expanded`. */ onChangeExpand?: (isExpand: boolean) => void; }; declare const ExpansionMenu: React.ForwardRefExoticComponent, HTMLDivElement>, "ref"> & { title: string; /** * If `true`, it is highlighted. */ isActive?: boolean; iconName: IconName; /** * If not `0`, the number is located on the upper right. */ notificationCount?: number; /** * Array of `` is expected. */ expansionList?: React.ReactNode[]; /** * If `true`, it is expanded as default. */ defaultExpand?: boolean; /** * It can define callback function that triggered when this component is `expanded`. */ onChangeExpand?: (isExpand: boolean) => void; } & React.RefAttributes>; export { ExpansionMenu };