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

Add missing children prop in FloatLabel.d.ts #6388

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

NiclasvanEyk
Copy link
Contributor

Defect Fixes

Fixes #6387

I used the same description format as in the other components. I validated the change works by adding it to the local .d.ts file from my node_modules and it makes the example mentioned in the issue and my code compile again.

Copy link

vercel bot commented Apr 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
primereact ⬜️ Ignored (Inspect) Apr 12, 2024 3:11pm
primereact-v9 ⬜️ Ignored (Inspect) Visit Preview Apr 12, 2024 3:11pm

@melloware melloware added the Typescript Issue or pull request is *only* related to TypeScript definition label Apr 12, 2024
@melloware
Copy link
Member

@NiclasvanEyk can you check out this PR: #6360 @dvpritzbuer thinks this is a better way to define Children?

@NiclasvanEyk
Copy link
Contributor Author

@melloware does not really matter. If you look at the react type definitions, it boils down to the same thing (also in React 17).

I personally prefer the explicit way, but either way works.

@melloware
Copy link
Member

OK leave it the explicit way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Typescript Issue or pull request is *only* related to TypeScript definition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlotaLabel: Type definitions are missing a children prop
2 participants