metamask-mobile
metamask-mobile copied to clipboard
chore: Create a story for Loader component
Description
This pull request adds a Storybook.js story for the Loader component within the metamask-mobile
project. The story file ensures that each prop has its own control and that the options field is kept outside the controls. The story includes necessary imports, metadata configuration for Storybook, and a functional component for the default Loader story. The useStyles
hook's relative import path has been verified and corrected. Linting commands have been run to ensure no errors in the story file.
Related issues
Manual testing steps
- Go to the latest build of storybook in this PR
- Navigate to the Loader component in the Components/ folder.
Screenshots/Recordings
Pre-merge author checklist
- [X] I’ve followed MetaMask 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
- [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [ ] 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.
This Devin run was requested by Devin.