Rename DropDownItem -> SidebarSubItemDropDownItem
Signed-off-by: hiba-aldalaty <hibaaldalaty@gmail.com>
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user