Skip to content

Commit 27a538a

Browse files
committed
fix export of chakra theme components
1 parent 8266971 commit 27a538a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
export * from "./Link"
2-
export * from "./Button"
3-
export * from "./Tag"
1+
import { Button } from "./Button"
2+
import { Link } from "./Link"
3+
import { Tag } from "./Tag"
4+
5+
export default {
6+
Button,
7+
Link,
8+
Tag,
9+
}

src/@chakra-ui/gatsby-plugin/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import styles from "./styles"
1111
import foundations from "./foundations"
1212

1313
// Component style overrides
14-
import * as components from "./components"
14+
import components from "./components"
1515

1616
import semanticTokens from "./semanticTokens"
1717

0 commit comments

Comments
 (0)