cfpb / design-system-react

A React/Storybook implementation of CFPB's Design System
https://cfpb.github.io/design-system-react/
MIT License
6 stars 4 forks source link

fix(typescript): remove old ReactNode types #355

Closed billhimmelsbach closed 3 months ago

billhimmelsbach commented 3 months ago

The oldest components in the library appear to be using ReactNode instead of JSX.Element. This should fix some of the weird linting errors in repos that use the DSR

Changes

How to test this PR

  1. Linting errors should go away when these components are used.

Screenshots

Screenshot 2024-05-24 at 8 50 50 AM
netlify[bot] commented 3 months ago

Deploy Preview for cfpb-design-system-react ready!

Name Link
Latest commit bde0e041895b27c56e3254d384ab724b9e756604
Latest deploy log https://app.netlify.com/sites/cfpb-design-system-react/deploys/6650b76b3f789b0008d38090
Deploy Preview https://deploy-preview-355--cfpb-design-system-react.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.