Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG loader proposal #25644

Open
mattkime opened this issue Nov 14, 2018 · 1 comment
Open

SVG loader proposal #25644

mattkime opened this issue Nov 14, 2018 · 1 comment
Labels

Comments

@mattkime
Copy link
Contributor

I think it would be nice to use an svg loader for a couple of reasons -

  1. Reference svgs via import statements
  2. Uniform processing of svg content, transformed into react components
  3. SVG compression

https://github.com/boopathi/react-svg-loader/tree/master/packages/react-svg-loader#usage

import Image2 from './image1.svg';

// and use it like any other React Component
<Image1 width={50} height={50}/>
@lgestc
Copy link
Contributor

lgestc commented Jul 28, 2022

Is this still valid? I can see svg's included and loaded all over kibana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants