metamask-extension
metamask-extension copied to clipboard
feat: add `section` component
Description
Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions:
- What is the reason for the change? Adding in the
section
snaps component. - What is the improvement/solution? Allows developers to group their components in sections to provide a richer UI.
Related issues
Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3068
Screenshots/Recordings
Pre-merge author checklist
- [x] I've followed MetaMask Contributor Docs and MetaMask Extension Coding Standards.
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using JSDoc format if applicable
- [x] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
- [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [x] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.