MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
709 stars 546 forks source link

feat!: Checkbox component #2501

Closed FrederikBolding closed 6 days ago

FrederikBolding commented 1 week ago

Adds a checkbox component, that can be nested in a Field or used separately.

Breaking: Since the checkbox component uses a boolean for its state, FormSubmitEvent and InputChangeEvent can now contain boolean values.

If no initial value is given to the checkbox, it will default to false.

Progresses #2500

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.40%. Comparing base (62dbfb6) to head (ba5e072).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2501 +/- ## ======================================= Coverage 94.39% 94.40% ======================================= Files 441 442 +1 Lines 9109 9125 +16 Branches 1405 1411 +6 ======================================= + Hits 8598 8614 +16 Misses 511 511 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.