coinbase / onchainkit

React components and TypeScript utilities to help you build top-tier onchain apps.
https://onchainkit.xyz
MIT License
424 stars 78 forks source link

feat: Add Swap Kit components className override. #719

Closed cpcramer closed 1 week ago

cpcramer commented 1 week ago

What changed? Why?

Add className override to SwapButton, SwapMessage, SwapToggleButton, Swap, QuoteWarning , and SwapAmountInput.

Add missing React input types for the respective components.

Notes to reviewers

How has it been tested? Tested locally, by adding a background color using the className field:

Screenshot 2024-06-25 at 4 14 51 PM

Zizzamia commented 1 week ago

@cpcramer you made several coding changes in this PR, let's make sure to add the tests to help cover those changes?