diff --git a/site/docs/pages/swap/types.mdx b/site/docs/pages/swap/types.mdx index 43833d288c..9f774d4d2b 100644 --- a/site/docs/pages/swap/types.mdx +++ b/site/docs/pages/swap/types.mdx @@ -141,6 +141,15 @@ type SwapReact = { }; ``` +## `SwapSettingsReact` + +```ts +type SwapSettingsReact = { + icon: ReactNode; + title: string; +}; +``` + ## `SwapToggleButtonReact` ```ts diff --git a/src/swap/index.ts b/src/swap/index.ts index d2a515a9a3..32307b8410 100644 --- a/src/swap/index.ts +++ b/src/swap/index.ts @@ -22,6 +22,7 @@ export type { SwapMessageReact, SwapQuote, SwapReact, + SwapSettingsReact, SwapToggleButtonReact, Transaction, } from './types'; diff --git a/src/swap/types.ts b/src/swap/types.ts index 4dbd2af281..cb69fa11b1 100644 --- a/src/swap/types.ts +++ b/src/swap/types.ts @@ -219,15 +219,14 @@ export type SwapReact = { title?: string; // Title for the Swap component. (default: "Swap") }; +/** + * Note: exported as public Type + */ export type SwapSettingsReact = { icon: ReactNode; title: string; }; -export type SwapSettingsContainerReact = { - className?: string; // Optional className override for top div element. -}; - /** * Note: exported as public Type */