Closed ar2my closed 1 month ago
In a menu model containing separator with className : { separator: true, className: 'user-separator-classname' } the className doesn't applies to final rendering
{ separator: true, className: 'user-separator-classname' }
https://stackblitz.com/edit/ywyjat?file=src%2FApp.jsx,src%2Findex.css
10.6.6
17.x
TypeScript
Create React App (CRA)
No response
menuitem separator should take care of user's classname.
proposed PR: https://github.com/primefaces/primereact/pull/6883
Describe the bug
In a menu model containing separator with className :
{ separator: true, className: 'user-separator-classname' }
the className doesn't applies to final renderingReproducer
https://stackblitz.com/edit/ywyjat?file=src%2FApp.jsx,src%2Findex.css
PrimeReact version
10.6.6
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
menuitem separator should take care of user's classname.