[locked] Menu Buttons Standartization #2926
Replies: 1 comment
-
Tagging for visibility, comments and concerns: @tapopov @Raisolution @zdravkov @jivanova @Xizario @VicTachev @nenchef |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Quick Overview
The main concept is described here: #1617
This discussion covers the DropDownButton and SplitButton.
In this discussion, we will write down the questions that arise during the process of standardizing the Menu Buttons and the decisions we make. After all discussed cases are addressed, in the corresponding issue 1 and issue 2 we will list the statements and the expected result of the task.
Now up to the new features:
Content
Menu button should be able to show / hide dropdown arrow. Menu button dropdown arrow must respect theme settings about sizing: auto or fixed.
Split button dropdown arrow must respect theme settings about sizing -- auto or fixed.
Fill Mode, Size, Rounding, Shape, Theme Color properties
We will utilize props for the same, but they will be applied to the underlying element/s.
Rendering
Menu Items part
TODO
Component API
In this section, we can think and write down the list of the props that will be added to the component. I'll start with the React Buttons:
Playground
https://stackblitz.com/edit/react-uvyvdj?file=app%2Fmain.tsx
Beta Was this translation helpful? Give feedback.
All reactions