From a0759711b10dea8db885ca421588f57223debbf9 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Sat, 12 Apr 2025 15:30:32 +0200 Subject: [PATCH] Extend interface to allow style attribute --- src/assets/svgs/interfaces.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/assets/svgs/interfaces.ts b/src/assets/svgs/interfaces.ts index 0cbd14f..b53eeb4 100644 --- a/src/assets/svgs/interfaces.ts +++ b/src/assets/svgs/interfaces.ts @@ -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 { + color?: string; + height?: string; + opacity?: number; + width?: string; }