-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Timeline: Missing export for interface TimelineEvent #6091
Labels
Resolution: By Design
The behavior in the issue is by design and the component exhibits the expected behavior
Comments
SondreBlegen
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Mar 5, 2024
Yes it is defined as an ANY because your timeline event can be any JSON pojo you want. /**
* An array of events to display.
*/
value?: any[] | undefined; |
melloware
added
Resolution: Wontfix
Issue will not be fixed due to technical limitations
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Mar 5, 2024
Here is a working Typescript example for you: https://stackblitz.com/edit/r6knth?file=src%2FApp.tsx |
melloware
added
Resolution: By Design
The behavior in the issue is by design and the component exhibits the expected behavior
and removed
Resolution: Wontfix
Issue will not be fixed due to technical limitations
labels
Mar 5, 2024
melloware
added a commit
to melloware/primereact
that referenced
this issue
Mar 5, 2024
Brainfart... Sorry about that :) |
No worries I did realize the showcase example is not quite right so I am fixing that. |
melloware
added a commit
that referenced
this issue
Mar 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Resolution: By Design
The behavior in the issue is by design and the component exhibits the expected behavior
Describe the bug
Hi,
I am currently working on creating a timeline, and looked at the docs provided, It uses the interface TimelineEvent for custom component rendering, but it seems that the interface is not exported.
Thanks,
Sondre
Reproducer
No response
PrimeReact version
10.5.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome 122
Steps to reproduce the behavior
Expected behavior
Should be possible to import the interface for type checking
The text was updated successfully, but these errors were encountered: