Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Export components props at root level #142

Open
itofarina opened this issue Aug 26, 2020 · 0 comments
Open

Export components props at root level #142

itofarina opened this issue Aug 26, 2020 · 0 comments

Comments

@itofarina
Copy link
Contributor

Problem

Right now we are not exporting the interfaces that define the props needed by the components. So for example when using the library and want to import the TooltipIconButtonProps, the user needs to do import { TooltipIconButtonProps } from '@rsksmart/rif-ui/dist/components/molecules/TooltipIconButton'.

Solution

Export types at root level so users can do import { TooltipIconButtonProps } from '@rsksmart/rif-ui

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant