mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Make SVGR icons use forward ref (#26082)
This commit is contained in:
parent
19b2eded16
commit
1ada110fed
@ -524,6 +524,12 @@ module.exports = (env, argv) => {
|
|||||||
removeDimensions: true,
|
removeDimensions: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Forwards the React ref to the root SVG element
|
||||||
|
* Useful when using things like `asChild` in
|
||||||
|
* radix-ui
|
||||||
|
*/
|
||||||
|
ref: true,
|
||||||
esModule: false,
|
esModule: false,
|
||||||
name: "[name].[hash:7].[ext]",
|
name: "[name].[hash:7].[ext]",
|
||||||
outputPath: getAssetOutputPath,
|
outputPath: getAssetOutputPath,
|
||||||
|
Loading…
Reference in New Issue
Block a user