From 0308f350596dddf92913f0eb0010c29bef176437 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alan=20Fern=C3=A1ndez=20Saavedra?= Date: Thu, 12 Feb 2026 13:14:47 +0100 Subject: [PATCH] feat: add swap icon --- assets/icons/experimental/swap.svg | 3 +++ src/icons/experimental/SwapIcon.tsx | 27 +++++++++++++++++++++++++++ src/icons/experimental/index.ts | 1 + 3 files changed, 31 insertions(+) create mode 100644 assets/icons/experimental/swap.svg create mode 100644 src/icons/experimental/SwapIcon.tsx diff --git a/assets/icons/experimental/swap.svg b/assets/icons/experimental/swap.svg new file mode 100644 index 00000000..dcf04aef --- /dev/null +++ b/assets/icons/experimental/swap.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/icons/experimental/SwapIcon.tsx b/src/icons/experimental/SwapIcon.tsx new file mode 100644 index 00000000..d039a156 --- /dev/null +++ b/src/icons/experimental/SwapIcon.tsx @@ -0,0 +1,27 @@ +// DO NOT EDIT. This file was generated by running `npm run generate`.; +import * as React from 'react'; +import { get } from '../../utils/themeGet'; +import { IconProps } from '../IconProps'; +type Props = IconProps; +const SwapIcon: React.FC = ({ size = 'medium', color = 'inherit', ...rest }) => { + const props = { ...rest, color }; + const sizePx = Number.isFinite(size as number) + ? size + : get(`iconSizes.${size}`)(props) || get('iconSizes.medium')(props); + return ( + + + + ); +}; +export default SwapIcon; diff --git a/src/icons/experimental/index.ts b/src/icons/experimental/index.ts index 52522931..2a41e7c3 100644 --- a/src/icons/experimental/index.ts +++ b/src/icons/experimental/index.ts @@ -16,3 +16,4 @@ export { default as TrashIcon } from './TrashIcon'; export { default as EditPenIcon } from './EditPenIcon'; export { default as HailingIcon } from './HailingIcon'; export { default as PinIcon } from './PinIcon'; +export { default as SwapIcon } from './SwapIcon';