-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update generator to stop using "export *" (#33379)
- Loading branch information
1 parent
001b1b3
commit c688295
Showing
3 changed files
with
72 additions
and
11 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
tools/workspace-plugin/src/generators/react-component/files/component/index.ts__tmpl__
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,5 +1,5 @@ | ||
export * from './<%= componentName %>'; | ||
export * from './<%= componentName %>.types'; | ||
export * from './render<%= componentName %>'; | ||
export * from './use<%= componentName %>'; | ||
export * from './use<%= componentName %>Styles.styles'; | ||
export { <%= componentName %> } from './<%= componentName %>'; | ||
export type { <%= componentName %>Props, <%= componentName %>State } from './<%= componentName %>.types'; | ||
export { render<%= componentName %>_unstable } from './render<%= componentName %>'; | ||
export { use<%= componentName %>_unstable } from './use<%= componentName %>'; | ||
export { <%= propertyName %>ClassNames, use<%= componentName %>Styles_unstable } from './use<%= componentName %>Styles.styles'; |
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