-
Notifications
You must be signed in to change notification settings - Fork 457
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: importing types from a local file instead of the package in SfBa…
…dge (#2939) --------- Co-authored-by: Szymon Dziewoński <[email protected]>
- Loading branch information
Showing
5 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@storefront-ui/react': patch | ||
--- | ||
|
||
Import types from package in SfBadge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { default as SfBadge } from './SfBadge'; | ||
|
||
export * from './types'; | ||
|
||
export { default as SfBadge } from './SfBadge'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { default as SfRadio } from './SfRadio'; | ||
|
||
export * from './types'; | ||
|
||
export { default as SfRadio } from './SfRadio'; |
4 changes: 2 additions & 2 deletions
4
packages/sfui/frameworks/react/components/SfRatingButton/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { default as SfRatingButton } from './SfRatingButton'; | ||
|
||
export * from './types'; | ||
|
||
export { default as SfRatingButton } from './SfRatingButton'; |