elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.72k stars 8.13k forks source link

SVG loader proposal #25644

Open mattkime opened 5 years ago

mattkime commented 5 years ago

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 commented 2 years ago

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