Webiu icon indicating copy to clipboard operation
Webiu copied to clipboard

Updated BookingCard.md to render component successfully

Open Sapnajha19 opened this issue 2 years ago • 0 comments

Updated BookingCard's readme

Description

The documentation for the BookingCard component was incomplete. On rendering the component in the index.js file inside the pages folder, there was an error of not recognizing icons in the props. I tried to understand the BookingCard/index.js and BookingCard.stories.js files but could not find any issue there. On importing the icons file in the pages/index.js, the error was resolved.

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] My code follows the code style of this project.
  • [x] My change requires a change to the documentation.
  • [x] I have updated the documentation accordingly.
  • [x] All new and existing tests have passed and it does not give any unexpected error for the same.

Sapnajha19 avatar Mar 22 '23 08:03 Sapnajha19