Skip to content

Commit c48a13f

Browse files
committed
Fix: tsconfig vite/client & skeletonpage docs
1 parent ed89fa5 commit c48a13f

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

src/components/SkeletonPage/README.stories.mdx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import { SkeletonPage, Layout, LayoutSection, Card, TextContainer, SkeletonBodyT
55
<Meta
66
title="Components / Feedback indicators / Skeleton page"
77
component={ SkeletonPage }
8-
argTypes={{
9-
}}
108
/>
119

1210
export const Template = (args) => ({
@@ -41,10 +39,10 @@ export const Template = (args) => ({
4139
<SkeletonDisplayText size="small" />
4240
<SkeletonBodyText :lines="2" />
4341
</TextContainer>
44-
</Card.Section>
42+
</CardSection>
4543
<CardSection>
46-
<SkeletonBodyText lines={1} />
47-
</Card.Section>
44+
<SkeletonBodyText :lines="1" />
45+
</CardSection>
4846
</Card>
4947
<Card subdued>
5048
<CardSection>
@@ -100,10 +98,10 @@ Skeleton page is used with other skeleton loading components to provide a low fi
10098
<SkeletonDisplayText size="small" />
10199
<SkeletonBodyText :lines="2" />
102100
</TextContainer>
103-
</Card.Section>
101+
</CardSection>
104102
<CardSection>
105-
<SkeletonBodyText lines={1} />
106-
</Card.Section>
103+
<SkeletonBodyText :lines="1" />
104+
</CardSection>
107105
</Card>
108106
<Card subdued>
109107
<CardSection>

tsconfig.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
"paths": {
1919
"@/*": ["./src/*"]
2020
},
21-
"types": ["node"],
21+
"types": [
22+
"node",
23+
"vite/client"
24+
],
2225
// "declaration": true,
2326
// "declarationMap": true,
2427
// "declarationDir": "dist/types",

0 commit comments

Comments
 (0)