Saga-icons: Forward SVG attributes (#87138)

This commit is contained in:
Alex Khomenko 2024-04-30 16:58:25 +02:00 committed by GitHub
parent 1ddbcc3f61
commit 86aceb7a10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -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={{

View File

@ -4,6 +4,7 @@
const modifyJSX = (jsx) => {
jsx.openingElement.name.name = 'IconBase';
jsx.openingElement.attributes = [
...jsx.openingElement.attributes,
{
type: 'JSXSpreadAttribute',
argument: {