Fix imports & api-reports

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2021-12-10 12:01:25 +01:00
parent ce97576743
commit 13f72c0910
2 changed files with 9 additions and 1 deletions
+3
View File
@@ -849,6 +849,9 @@ export type SelectInputBaseClassKey = 'root' | 'input';
// @public (undocumented)
export const Sidebar: ({
children,
openDelayMs,
closeDelayMs,
disableExpandOnHover,
}: React_2.PropsWithChildren<Props_17>) => JSX.Element;
// Warning: (ae-missing-release-tag) "SIDEBAR_INTRO_LOCAL_STORAGE" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -185,6 +185,7 @@ export const Sidebar = ({
children,
openDelayMs,
closeDelayMs,
disableExpandOnHover,
}: React.PropsWithChildren<Props>) => {
const isMobileScreen = useMediaQuery<BackstageTheme>(theme =>
theme.breakpoints.down('xs'),
@@ -193,7 +194,11 @@ export const Sidebar = ({
return isMobileScreen ? (
<MobileSidebar>{children}</MobileSidebar>
) : (
<DesktopSidebar openDelayMs={openDelayMs} closeDelayMs={closeDelayMs}>
<DesktopSidebar
openDelayMs={openDelayMs}
closeDelayMs={closeDelayMs}
disableExpandOnHover={disableExpandOnHover}
>
{children}
</DesktopSidebar>
);