diff --git a/pages/skeleton/components-examples.page.tsx b/pages/skeleton/components-examples.page.tsx index 0bd776d845..3cf20657cd 100644 --- a/pages/skeleton/components-examples.page.tsx +++ b/pages/skeleton/components-examples.page.tsx @@ -15,6 +15,8 @@ import List from '~components/list'; import Skeleton from '~components/skeleton'; import SpaceBetween from '~components/space-between'; +import { SimplePage } from '../app/templates'; + interface DataItem { id: string; name: string; @@ -58,22 +60,16 @@ export default function SkeletonComponentsExamples() { const [isLoading, setIsLoading] = useState(true); return ( - -
- - -
- Skeleton Component Examples -
- setIsLoading(detail.checked)}> - Show loading state (Skeleton) - -
-
-
+ setIsLoading(detail.checked)}> + Show loading state (Skeleton) + + } + screenshotArea={{ disableAnimations: true }} + > {/* Cards Example */} Cards with Skeleton}> @@ -333,6 +329,6 @@ export default function SkeletonComponentsExamples() { -
+ ); } diff --git a/pages/skeleton/permutations.page.tsx b/pages/skeleton/permutations.page.tsx index 689b334413..759f8ad7f8 100644 --- a/pages/skeleton/permutations.page.tsx +++ b/pages/skeleton/permutations.page.tsx @@ -4,9 +4,9 @@ import React from 'react'; import Skeleton, { SkeletonProps } from '~components/skeleton'; +import { SimplePage } from '../app/templates'; import createPermutations from '../utils/permutations'; import PermutationsView from '../utils/permutations-view'; -import ScreenshotArea from '../utils/screenshot-area'; const permutations = createPermutations([ // Test all variants with default display and reasonable width @@ -46,18 +46,15 @@ const permutations = createPermutations([ export default function SkeletonPermutations() { return ( - <> -

Skeleton permutations

- - ( -
- -
- )} - /> -
- + + ( +
+ +
+ )} + /> +
); }