From f53f259879ae36b08f060c6d1e32add02be3e649 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Thu, 10 Oct 2024 16:12:59 +0300 Subject: [PATCH] fix: fix icons tsx (#2487) --- .../Icon/Icons/components/CloseMedium.tsx | 18 +++++++----------- .../components/Icon/Icons/components/Key.tsx | 18 +++++++----------- .../Icon/Icons/components/LearnMore.tsx | 6 +++--- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/packages/core/src/components/Icon/Icons/components/CloseMedium.tsx b/packages/core/src/components/Icon/Icons/components/CloseMedium.tsx index 19694f7aad..5a8042be32 100644 --- a/packages/core/src/components/Icon/Icons/components/CloseMedium.tsx +++ b/packages/core/src/components/Icon/Icons/components/CloseMedium.tsx @@ -1,20 +1,16 @@ /* eslint-disable */ /* tslint:disable */ -import * as React from "react"; +import * as React from 'react'; export interface CloseMediumProps extends React.SVGAttributes { - size?: string | number; +size?: string | number; } -const CloseMedium: React.FC = ({ size, ...props }) => ( - - +const CloseMedium: React.FC = ({size, ...props}) => ( + + ); -CloseMedium.displayName = "CloseMedium"; +CloseMedium.displayName = 'CloseMedium'; export default CloseMedium; /* tslint:enable */ /* eslint-enable */ diff --git a/packages/core/src/components/Icon/Icons/components/Key.tsx b/packages/core/src/components/Icon/Icons/components/Key.tsx index 1f565c632d..2e49eeb772 100644 --- a/packages/core/src/components/Icon/Icons/components/Key.tsx +++ b/packages/core/src/components/Icon/Icons/components/Key.tsx @@ -1,20 +1,16 @@ /* eslint-disable */ /* tslint:disable */ -import * as React from "react"; +import * as React from 'react'; export interface KeyProps extends React.SVGAttributes { - size?: string | number; +size?: string | number; } -const Key: React.FC = ({ size, ...props }) => ( - - +const Key: React.FC = ({size, ...props}) => ( + + ); -Key.displayName = "Key"; +Key.displayName = 'Key'; export default Key; /* tslint:enable */ /* eslint-enable */ diff --git a/packages/core/src/components/Icon/Icons/components/LearnMore.tsx b/packages/core/src/components/Icon/Icons/components/LearnMore.tsx index df00c78643..9598e6aaa4 100644 --- a/packages/core/src/components/Icon/Icons/components/LearnMore.tsx +++ b/packages/core/src/components/Icon/Icons/components/LearnMore.tsx @@ -5,10 +5,10 @@ export interface LearnMoreProps extends React.SVGAttributes { size?: string | number; } const LearnMore: React.FC = ({size, ...props}) => ( - - + - );