'content' property now required for several components #5701
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Milestone
Describe the bug
as of version 10.3.0, in component
<Dialog>
I now get typescript errorSame happens for components
<ConfirmDialog>
and<Sidebar>
(and maybe more, that I haven't seen yet).Easy fix is to add a 'content={null}' attribute as such:
but it doesn't feel like this should be necessary, especially because the docs say this should be set to null by default.
Reproducer
No response
PrimeReact version
10.3.0
React version
18.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
I shouldn't have to add the content={null} attribute, like it was before.
The text was updated successfully, but these errors were encountered: