Skip to content

feat(react): export props types#112

Merged
francoischalifour merged 1 commit intonextfrom
feat/react-export-types
Nov 7, 2022
Merged

feat(react): export props types#112
francoischalifour merged 1 commit intonextfrom
feat/react-export-types

Conversation

@francoischalifour
Copy link
Copy Markdown
Contributor

The components and Hooks props were not exported so it wasn't simple to re-create higher-level components reusing these props.

In the other libraries, we make sure to export the types that are close to the developer usage.

Copy link
Copy Markdown
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, even if it can easily be retrieved via ComponentProps and Arguments

@Haroenv
Copy link
Copy Markdown
Contributor

Haroenv commented Nov 7, 2022

in the future api-explorer can be used to enforce this

@francoischalifour francoischalifour merged commit 9abee3f into next Nov 7, 2022
@francoischalifour francoischalifour deleted the feat/react-export-types branch November 7, 2022 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants