Giter Site home page Giter Site logo

Comments (8)

ftKnox avatar ftKnox commented on August 23, 2024 1

Looks like this is the goto for react native: https://github.com/oblador/react-native-vector-icons

from materialdesign-react.

Templarian avatar Templarian commented on August 23, 2024

Not really sure as I've never used react native myself (but I'm assuming others have used this in React Native). All of the component names are capital, so error doesn't quite make sense.

Unfortunately I don't have an answer. Try googling around and seeing if it's something configured wrong maybe?

from materialdesign-react.

ftKnox avatar ftKnox commented on August 23, 2024

Yeah I am messing with the casing right now. I will update if it yields anything.

from materialdesign-react.

ftKnox avatar ftKnox commented on August 23, 2024

Sorry, I for some reason thought this as a react native module. Your Icon.js exports html, thats why this doesn't work in react native.

from materialdesign-react.

Templarian avatar Templarian commented on August 23, 2024

Perfect. Yeah, there is probably a react native version of this component floating around by now. Probably should look into making a first party adaption eventually. Just not something I've worked with yet.

Do let me know what solution you go with.

from materialdesign-react.

Templarian avatar Templarian commented on August 23, 2024

@ftKnox Oh yeah, I think they use the font. Which isn't really a good idea as our font is large and growing every day. Hopefully there is a nice vector solution out there somewhere that uses @mdi/js.

from materialdesign-react.

Templarian avatar Templarian commented on August 23, 2024

It actually looks like it would be fairly easy to convert this to a @mdi/react-native package if I used:

https://www.npmjs.com/package/react-native-svg

I'll create an issue in the main repo to track this.

from materialdesign-react.

Templarian avatar Templarian commented on August 23, 2024

Templarian/MaterialDesign#4837

from materialdesign-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.