Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [Hero] Allow React elements to be passed to the heading and subheading props #310

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

meissadia
Copy link
Contributor

Closes #309

As we use Hero in more scenarios we find the need for expanded support of what types of content can be passed to these props.

Copy link

netlify bot commented Feb 14, 2024

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

Name Link
🔨 Latest commit c12c267
🔍 Latest deploy log https://app.netlify.com/sites/cfpb-design-system-react/deploys/65cd2eef1413060008e4c63f
😎 Deploy Preview https://deploy-preview-310--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.

Copy link
Contributor

@shindigira shindigira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@meissadia meissadia merged commit f91be24 into main Feb 15, 2024
7 of 9 checks passed
@meissadia meissadia deleted the 309-hero-allow-elements branch February 15, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Hero] Expand supported types for heading and subheading
2 participants