sjdemartini/mui-tiptap

Allow passing TooltipProps to MenuButton

Opened this issue · 1 comments

Is your feature request related to a problem? Please describe.

I would like to be able to further customize the tooltip in MenuButton like changing the positioning or adding a delay. One issue this has caused in my app is that the tooltip (when shown as "top") covers some buttons that I've got right above the editor.

Describe the solution you'd like

It would be great to pass in TooltipProps to MenuButton.

Describe alternatives you've considered

I'm aware that we can define defaults in the createTheme, but I don't want these props to apply to all tooltips across my app.

Additional context

I'm happy to create a PR to support this.

Same issue here: #282

I haven't gotten around to writing a change yet.