reaction-component-library
reaction-component-library copied to clipboard
TypeScript type definitions
Hello,
I might be wrong, but I wasn't able to find any TS definition for @reactioncommerce/components.
Is this a problem on my side or are there no TS definitions to be found?
I really like the Reaction Commerce component library, but having to manually declare a definition for each component is really slowing down my development process.
In case no definition is available would you be interested in adding them? I could probably try to contribute.
Thanks.
@mikemurray @willopez Thoughts on this?
There aren't any yet but we would welcome any PRs to add some
I think there are ways to use the current proptypes in combination with type definitions. Perhaps you could find a tool that converts them?
I will try to find something and report back.
See also: https://github.com/reactioncommerce/example-storefront/issues/709