Currently, users needs to import the types.ts file from the @ukic/web-components package even if they are using the React components. Based on user feedback, adding the types.ts file to the React package will improve the developer experience. Alternatively, we can consider either making it clearer in our guidance that types should be imported from @ukic/web-components or creating a @types package.
The suggested action for this issue is a spike as well as applying the suggested change. The chosen change should also be applied to the @ukic/canary-react package.
Summary & 💰 Use value
Currently, users needs to import the
types.ts
file from the@ukic/web-components
package even if they are using the React components. Based on user feedback, adding thetypes.ts
file to the React package will improve the developer experience. Alternatively, we can consider either making it clearer in our guidance that types should be imported from@ukic/web-components
or creating a@types
package.The suggested action for this issue is a spike as well as applying the suggested change. The chosen change should also be applied to the
@ukic/canary-react
package.