Rename DropDownItem -> SidebarSubItemDropDownItem

Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
This commit is contained in:
hiba-aldalaty
2021-11-24 11:09:01 +00:00
parent fce9870fff
commit 9f8e9a04d1
3 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -301,12 +301,6 @@ export type DismissbleBannerClassKey = DismissableBannerClassKey;
// @public (undocumented)
export function DocsIcon(props: IconComponentProps): JSX.Element;
// @public
export type DropDownItem = {
title: string;
to: string;
};
// @public (undocumented)
export function EmailIcon(props: IconComponentProps): JSX.Element;
@@ -1987,6 +1981,12 @@ export const SidebarSpacer: React_2.ComponentType<
}
>;
// @public
export type SidebarSubItemDropDownItem = {
title: string;
to: string;
};
// @public
export const SidebarSubmenu: ({
title,
@@ -2006,7 +2006,7 @@ export type SidebarSubmenuItemProps = {
title: string;
to: string;
icon: IconComponent;
dropdownItems?: DropDownItem[];
dropdownItems?: SidebarSubItemDropDownItem[];
};
// @public
@@ -87,7 +87,7 @@ const useStyles = makeStyles<BackstageTheme>(theme => ({
*
* @public
*/
export type DropDownItem = {
export type SidebarSubItemDropDownItem = {
title: string;
to: string;
};
@@ -105,7 +105,7 @@ export type SidebarSubmenuItemProps = {
title: string;
to: string;
icon: IconComponent;
dropdownItems?: DropDownItem[];
dropdownItems?: SidebarSubItemDropDownItem[];
};
/**
@@ -20,7 +20,7 @@ export { SidebarSubmenu } from './SidebarSubmenu';
export type { SidebarSubmenuProps } from './SidebarSubmenu';
export type {
SidebarSubmenuItemProps,
DropDownItem,
SidebarSubItemDropDownItem,
} from './SidebarSubmenuItem';
export type { SidebarClassKey } from './Bar';
export { SidebarPage, SidebarPinStateContext } from './Page';