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
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