diff --git a/src/renderer/components/svgs/icons/compare-icon.component.tsx b/src/renderer/components/svgs/icons/compare-icon.component.tsx index 465a2e11e..a5fd2d463 100644 --- a/src/renderer/components/svgs/icons/compare-icon.component.tsx +++ b/src/renderer/components/svgs/icons/compare-icon.component.tsx @@ -1,10 +1,10 @@ -import { CSSProperties } from "react"; +import { createSvgIcon } from "../svg-icon.type"; -export function CompareIcon(props: Readonly<{ className?: string; style?: CSSProperties }>) { +export const CompareIcon = createSvgIcon((props, ref) => { return ( ); -} +}); + diff --git a/src/renderer/components/svgs/icons/down-icon.component.tsx b/src/renderer/components/svgs/icons/down-icon.component.tsx index 5abec0a5b..486e512bd 100644 --- a/src/renderer/components/svgs/icons/down-icon.component.tsx +++ b/src/renderer/components/svgs/icons/down-icon.component.tsx @@ -1,10 +1,10 @@ -import { CSSProperties } from "react"; +import { createSvgIcon } from "../svg-icon.type"; -export function DownIcon(props: Readonly<{ className?: string; style?: CSSProperties }>) { +export const DownIcon = createSvgIcon((props, ref) => { return ( ); -} +}); diff --git a/src/renderer/components/svgs/icons/equals-icon.component.tsx b/src/renderer/components/svgs/icons/equals-icon.component.tsx index 69b51d629..a354b286d 100644 --- a/src/renderer/components/svgs/icons/equals-icon.component.tsx +++ b/src/renderer/components/svgs/icons/equals-icon.component.tsx @@ -1,8 +1,10 @@ -import { CSSProperties } from "react"; +import { createSvgIcon } from "../svg-icon.type"; -export function EqualIcon(props: Readonly<{ className?: string; style?: CSSProperties }>) { +export const EqualIcon = createSvgIcon((props, ref) => { return ( ); -} +}); diff --git a/src/renderer/components/svgs/icons/remove-icon.component.tsx b/src/renderer/components/svgs/icons/remove-icon.component.tsx index c035ec268..d7ffa9569 100644 --- a/src/renderer/components/svgs/icons/remove-icon.component.tsx +++ b/src/renderer/components/svgs/icons/remove-icon.component.tsx @@ -1,10 +1,10 @@ -import { CSSProperties } from "react"; +import { createSvgIcon } from "../svg-icon.type" -export function RemoveIcon(props: Readonly<{ className?: string; style?: CSSProperties }>) { +export const RemoveIcon = createSvgIcon((props, ref) => { return ( ) -} +}); diff --git a/src/renderer/components/svgs/icons/up-icon.component.tsx b/src/renderer/components/svgs/icons/up-icon.component.tsx index f8bca33a5..1bcd60ae5 100644 --- a/src/renderer/components/svgs/icons/up-icon.component.tsx +++ b/src/renderer/components/svgs/icons/up-icon.component.tsx @@ -1,10 +1,10 @@ -import { CSSProperties } from "react"; +import { createSvgIcon } from "../svg-icon.type"; -export function UpIcon(props: Readonly<{ className?: string; style?: CSSProperties }>) { +export const UpIcon = createSvgIcon((props, ref) => { return ( ); -} +});