mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -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 (
|
return (
|
||||||
<svg
|
<svg
|
||||||
{...props}
|
{...props}
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
viewBox="0 0 24 24"
|
|
||||||
height={svgSize}
|
height={svgSize}
|
||||||
width={svgSize}
|
width={svgSize}
|
||||||
style={{
|
style={{
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
const modifyJSX = (jsx) => {
|
const modifyJSX = (jsx) => {
|
||||||
jsx.openingElement.name.name = 'IconBase';
|
jsx.openingElement.name.name = 'IconBase';
|
||||||
jsx.openingElement.attributes = [
|
jsx.openingElement.attributes = [
|
||||||
|
...jsx.openingElement.attributes,
|
||||||
{
|
{
|
||||||
type: 'JSXSpreadAttribute',
|
type: 'JSXSpreadAttribute',
|
||||||
argument: {
|
argument: {
|
||||||
|
Loading…
Reference in New Issue
Block a user