SwapSettings
component enables customizable slippage configuration in the Swap
component.
Usage
Override styles
You can override component styles usingclassName
.
Override icon
You can override the icon using the icon prop.Add text
You can add text next to theSwapSettings
component using text.
Override text
You can override component text by providing children text.Components
<SwapSettings />
- Container component for swap slippage settings.<SwapSettingsSlippageDescription />
- Displays description text explaining the slippage setting.<SwapSettingsSlippageInput />
- Input field for users to enter their desired max slippage percentage<SwapSettingsSlippageTitle />
- Displays the title for the slippage settings section