Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JoyUI] [DialogTitle] level prop doesn't accept object #42908

Open
rhuanbarreto opened this issue Jul 11, 2024 · 2 comments
Open

[JoyUI] [DialogTitle] level prop doesn't accept object #42908

rhuanbarreto opened this issue Jul 11, 2024 · 2 comments
Assignees
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

Comments

@rhuanbarreto
Copy link
Contributor

rhuanbarreto commented Jul 11, 2024

Steps to reproduce

Steps:

  1. <DialogTitle level={{ sm: "h4" }}>

Current behavior

Fails on typescript:

Type '{ sm: string; }' is not assignable to type '"inherit" | keyof TypographySystem | undefined'

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

@rhuanbarreto rhuanbarreto added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jul 11, 2024
@zannager zannager added component: dialog This is the name of the generic UI component, not the React module! package: joy-ui Specific to @mui/joy labels Jul 11, 2024
@DiegoAndai
Copy link
Member

@siriwatknp may I ask you to take a look at this one?

@DiegoAndai DiegoAndai assigned siriwatknp and unassigned DiegoAndai Jul 17, 2024
@siriwatknp
Copy link
Member

Thanks for reporting the issue! Joy UI development is temporarily on hold as the maintainers focus on the next two major releases of Material UI

@siriwatknp siriwatknp added on hold There is a blocker, we need to wait and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants