diff --git a/pages/app-layout/disable-paddings-breadcrumbs.page.tsx b/pages/app-layout/disable-paddings-breadcrumbs.page.tsx index e9d78921b7..aa1a396897 100644 --- a/pages/app-layout/disable-paddings-breadcrumbs.page.tsx +++ b/pages/app-layout/disable-paddings-breadcrumbs.page.tsx @@ -1,7 +1,6 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 import React from 'react'; -import clsx from 'clsx'; import AppLayout from '~components/app-layout'; import Box from '~components/box'; @@ -17,7 +16,7 @@ export default function () { Breadcrumbs} + breadcrumbs={
Breadcrumbs
} notifications={
Notifications diff --git a/pages/app-layout/navigation-with-scrollbar.page.tsx b/pages/app-layout/navigation-with-scrollbar.page.tsx new file mode 100644 index 0000000000..19d74ee74f --- /dev/null +++ b/pages/app-layout/navigation-with-scrollbar.page.tsx @@ -0,0 +1,55 @@ +// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. +// SPDX-License-Identifier: Apache-2.0 +import React from 'react'; + +import AppLayout from '~components/app-layout'; +import Select from '~components/select'; +import SideNavigation, { SideNavigationProps } from '~components/side-navigation'; + +import labels from './utils/labels'; + +const items: SideNavigationProps.Item[] = new Array(50).fill(null).map((_, index) => ({ + type: 'link', + text: `Link to page ${index + 1} with long enough text to wrap`, + href: '#', +})); + +const itemsControl = ( +