Extend interface to allow style attribute

This commit is contained in:
Nicola Benaglia 2025-04-12 15:30:32 +02:00
parent 5452973773
commit a0759711b1

View File

@ -1,6 +1,8 @@
export interface SVGProps { import React from 'react';
color: string
height: string export interface SVGProps extends React.SVGProps<SVGSVGElement> {
width: string color?: string;
opacity?: number height?: string;
opacity?: number;
width?: string;
} }