Coder Social home page Coder Social logo

Comments (4)

Rowno avatar Rowno commented on May 22, 2024 1

Just FYI, you can already use any image you want using the src prop, which can be passed any file path that <img> supports (including SVG files). Not sure if that's what you want?

from evergreen.

jeroenransijn avatar jeroenransijn commented on May 22, 2024

Hi @EstebanBorai thanks for checking out Evergreen and taking the time to create an issue — much appreciated! Could you describe your use case or potentially share a simple paper sketch of what you are trying to achieve. As far as I understand it you are asking for support of a icon prop on the Avatar component — which would render a icon inside of the Avatar instead of the initials or image?

from evergreen.

EstebanBorai avatar EstebanBorai commented on May 22, 2024

Thanks for your attention @jeroenransijn !
Yes! I would like to render SVG Icons inside an Avatar Component just like Material UI does.
It's very useful and let's people use their own designs.

from evergreen.

EstebanBorai avatar EstebanBorai commented on May 22, 2024

Thanks @Rowno and @jeroenransijn ! I'm setting the issue as closed as the component already supports SVG through src prop!

from evergreen.

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.