Refactor the InfoBox Component
Closed this issue · 0 comments
nataliepina commented
Description
This issue is related to refactoring the InfoBox
Component.
Acceptance Criteria
Please refactor the InfoBox
component from a class component to a function component.
Refer to other components to keep formatting consistent. For example, reference the Card, Breadcrumb, or Typeahead components.
How to Contribute
Please review the contributing documentation beforehand.
Steps to Contribute:
- Fork the repository.
- Clone it to your local system.
- Create a new branch. Please adhere to branch formatting, for example
<your_initials>/refactor/infobox
- Make your changes. Make sure that tests are still passing. To update snapshot tests, run
npm run test -- -u
and include the updated tests in your commit. - Commit your changes. When committing be sure to prefix with the appropriate conventional commit type. For example,
refactor: infobox component
. - Push up your changes. In GitHub, click the compare & pull request button to begin drafting your pull request.
- Fill out the pull request form and attach the "ready to review" label when complete.