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 {
color: string
height: string
width: string
opacity?: number
import React from 'react';
export interface SVGProps extends React.SVGProps<SVGSVGElement> {
color?: string;
height?: string;
opacity?: number;
width?: string;
}