wmira / react-icons-kit

React Svg Icons
https://react-icons-kit.vercel.app/
MIT License
370 stars 45 forks source link

[TS] add Icon as default export #35

Closed superhawk610 closed 6 years ago

superhawk610 commented 6 years ago

This PR adds Icon as the default export in the TS module declaration.

The original JS export can be seen here

import { Icon, withBaseIcon } from './Icon';
import { horizontalCenter } from './horizontalCenter';

export { withBaseIcon };
export { Icon };
export { horizontalCenter };
export default Icon; // <-- here
wmira commented 6 years ago

@superhawk610 thanks, will have this published