Skip to content

chore: added types for FormGroup component#13988

Merged
kodiakhq[bot] merged 4 commits into
carbon-design-system:mainfrom
imp-dance:13554-types-for-formgroup
Jun 15, 2023
Merged

chore: added types for FormGroup component#13988
kodiakhq[bot] merged 4 commits into
carbon-design-system:mainfrom
imp-dance:13554-types-for-formgroup

Conversation

@imp-dance

Copy link
Copy Markdown
Contributor

Closes #13554

Added typescript type definition for the props for FormGroup component.

Changelog

New

  • FormGroup.js -> FormGroup.tsx
  • Added type for FormGroup props

Changed

  • Prop legendId now expects type string instead of PropTypes.node. The prop was used as a string in the component internally, so I'm not sure why it was a node previously.

@imp-dance imp-dance requested a review from a team as a code owner June 13, 2023 10:56
@netlify

netlify Bot commented Jun 13, 2023

Copy link
Copy Markdown

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6bf26dc
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/648b23f8ae68610008cac597
😎 Deploy Preview https://deploy-preview-13988--carbon-components-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 settings.

@netlify

netlify Bot commented Jun 13, 2023

Copy link
Copy Markdown

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 6bf26dc
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/648b23f86f48f10008cce71b
😎 Deploy Preview https://deploy-preview-13988--carbon-elements.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 settings.

@guidari guidari left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@kodiakhq kodiakhq Bot merged commit 99189c6 into carbon-design-system:main Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add TypeScript types to FormGroup

3 participants