DTS-STN / Service-Canada-Labs

Repository for the Service Canada Labs website
MIT License
8 stars 7 forks source link

Remove defaultProps from components and use Javascript default parameters instead #1063

Closed blai0264 closed 3 months ago

blai0264 commented 3 months ago

Remove defaultProps from components and use Javascript default parameters instead

Removed default props from components, implmented JS default params

Test Instructions

  1. yarn test:unit
  2. ensure all tests run successfully
github-actions[bot] commented 3 months ago

Storybooks Link For Branch https://dts-stn.github.io/Service-Canada-Labs/refs/pull/1063/merge

github-actions[bot] commented 3 months ago

Coverage Report Link for Branch https://dts-stn.github.io/Service-Canada-Labs/refs/pull/1063/merge/coverage/lcov-report

andr0272 commented 3 months ago

Check out a preview of your pull request here: https://app-servicecanadalabs-dev-pr-preview-0.azurewebsites.net