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

Messages: Missing props in MessagesPassThroughMethodOptions and MessagesProps #6908

Closed
ivanpajon opened this issue Jul 19, 2024 · 0 comments · Fixed by #6909, leoo1992/GeradorQRCode#80 or leoo1992/GeradorQRCode#85 · May be fixed by mtech-31-quemistry/quemistry_client_web#20
Assignees
Labels
Typescript Issue or pull request is *only* related to TypeScript definition
Milestone

Comments

@ivanpajon
Copy link
Contributor

Describe the bug

There are some missing props in type definition for Messages component.

Reproducer

https://stackblitz.com/edit/2jqjp5?file=src%2FApp.tsx

PrimeReact version

10.7.0

React version

18.x

Language

TypeScript

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

  1. Go to reproducer
  2. See linting error for unstyled prop (Error 1)
  3. Open console
  4. See object passed to MessagesPassThroughMethodOptions (Error 2)

Expected behavior

Proper type definition for MessagesPassThroughMethodOptions and for Messages component unstyled prop.

@ivanpajon ivanpajon added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 19, 2024
@melloware melloware added Typescript Issue or pull request is *only* related to TypeScript definition and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 20, 2024
@melloware melloware added this to the 10.7.1 milestone Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment