Code Monkey home page Code Monkey logo

Comments (4)

michelengelen avatar michelengelen commented on August 26, 2024 1

hey @teryn-trimble
this would be possible right now with a dom customization, but this does seem like a bit of overkill for a specific use case like this.
The problem with your approach is, that each action would need to receive a set of props that can get passed to the button its intended for.
I will add this to the board so the team can have a look and estimate it properly.

from mui-x.

teryn-trimble avatar teryn-trimble commented on August 26, 2024 1

@LukasTy
It is a similar issue to #12049. I looked at the example you provided and it makes sense. I didn't even think about overriding the entire toolbar like that and taking in a new prop. It does solve our issue. Thank you!

from mui-x.

LukasTy avatar LukasTy commented on August 26, 2024

Hello @teryn-trimble
I think that this is a very similar issue to #12049 where we agreed that we would not be expanding the customization of the action bar using additional props, but improve the customization examples and expose the missing piece (useLocaleText hook) publically.
I've played around with a customization idea.
What do you think about it? Does it make sense and solve the problem?
If yes, I'd say that this is a duplicate issue and we just need to resolve the mentioned issue for this solution to be considered production viable.

from mui-x.

github-actions avatar github-actions commented on August 26, 2024

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@teryn-trimble: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

from mui-x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.