Menubar: MenubarPassThroughOptions interface is missing submenu property #6536
Labels
Component: Unstyled
Issue related to unstyled/passthrough attributes
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Describe the bug
submenu
property is missing in MenubarPassThroughOptionssubmenu
is defined inpassthrough/tailwind/index.js
forTailwind.menubar.submenu
, and classes are applied to the submenu as expected when running.Reproducer
No response
PrimeReact version
10.6.3
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
The following code fails to compile in typescript
Expected behavior
Typescript shouldn't complain about missing
submenu
property when it works as a passthrough option and is used by the default Tailwind theme.The text was updated successfully, but these errors were encountered: