mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 19:54:10 -06:00
Saga-icons: Forward SVG attributes (#87138)
This commit is contained in:
parent
1ddbcc3f61
commit
86aceb7a10
@ -33,8 +33,6 @@ export const IconBase = ({ title, size = 'md', color = 'currentColor', ...props
|
||||
return (
|
||||
<svg
|
||||
{...props}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
height={svgSize}
|
||||
width={svgSize}
|
||||
style={{
|
||||
|
@ -4,6 +4,7 @@
|
||||
const modifyJSX = (jsx) => {
|
||||
jsx.openingElement.name.name = 'IconBase';
|
||||
jsx.openingElement.attributes = [
|
||||
...jsx.openingElement.attributes,
|
||||
{
|
||||
type: 'JSXSpreadAttribute',
|
||||
argument: {
|
||||
|
Loading…
Reference in New Issue
Block a user