Closed ezailWang closed 3 months ago
Enhanced UI in SwapRoutePaths.tsx
Numerous changes were implemented in the interface to improve its visual appeal and user experience. We have introduced more space, appropriate color schemes, and size adjustments to make items visually clearer.
Optimized Token Component The 'Token' component received changes on its sizing and positioning to enhance readability and visual structure.
Improved SizableText Component
Several adjustments were made on the SizableText
component, including the readability of the text and the adjustment of its overall size and position.
Streamlined Code The component's export was changed to default, and destructuring was used for props to make the code more efficient. Also, unnecessary import statements were removed, making the code cleaner.
Introduced 'routeContent' to SwapRoutePaths
Component
A new property called 'routeContent' was added to the SwapRoutePaths
component.
Review or Edit in CodeSandbox
Open the branch in Web Editor • VS Code • Insiders
Open Preview