gilbarbara/react-inlinesvg

Types are not exported in index

Mrtenz opened this issue · 2 comments

The types defined in types.ts aren't exported in index.tsx. It would be nice if the types were exported there, so you can import it like

import { Props } from 'react-inlinesvg';

instead of

import { Props } from 'react-inlinesvg/lib/types';

Feel free to submit a PR

Hey

I have exported the types in the index.d.ts declaration.
It's available in 2.0.1