[JoyUI] [DialogTitle] level prop doesn't accept object #42908
Labels
component: dialog
This is the name of the generic UI component, not the React module!
on hold
There is a blocker, we need to wait
package: joy-ui
Specific to @mui/joy
Steps to reproduce
Steps:
<DialogTitle level={{ sm: "h4" }}>
Current behavior
Fails on typescript:
Expected behavior
To accept an object as this is the default value described in https://mui.com/joy-ui/api/dialog-title/
Context
To modify the default props by customizing the joy ui theme.
Your environment
System:
OS: macOS 14.5
Binaries:
Node: 21.7.3 - ~/.proto/shims/node
npm: 10.8.0 - ~/.proto/shims/npm
pnpm: Not Found
Browsers:
Chrome: Not Found
Edge: Not Found
Safari: 17.5
Search keywords: dialogtitle, joyui
The text was updated successfully, but these errors were encountered: