tabler / tabler-icons

A set of over 5500 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
17.91k stars 892 forks source link

Using icons with React Native #158

Open shelleyphant opened 2 years ago

shelleyphant commented 2 years ago

Hi, I'd love to use your icons for my React Native project, however importing via npm gives the following warning

Package @tabler/icons has been ignored because it contains invalid configuration. Reason: Package subpath './package.json' is not defined by "exports" in ../node_modules/@tabler/icons/package.json

Have I just added the wrong package, or is this something you're still working on?

FreexD commented 2 years ago

@shelleyphant I guess there is no reason why tabler-icons should not work in React-Native as well :) I guess the package.json would need some tweaks to achieve that :) @shelleyphant are you willing to contribute a PR to fix the react-native support? :)

50UM3N commented 2 years ago

@FreexD @shelleyphant Hello I convert all the icons into react native svg component recently for an application. And also upload in the npm. Here is the GitHub link https://github.com/50UM3N/tabler-icons-react-native and npm link https://www.npmjs.com/package/tabler-icons-react-native

JavaScriptJohn commented 2 years ago

This would be very nice to have.

carlosriveroib commented 1 year ago

any updates on this?

saif-o99 commented 1 year ago

any updates?

IhsenBouallegue commented 1 year ago

updates?... 😢

javialcantaras commented 10 months ago

any updates?