I am new to React js and MUI components.
I am working on the following design where stack contains multiple boxes. Each box has its own style which is same across all boxes within stack. Is there a way to have one style defined for a box which then be applied to all boxes?
You can use the
sxprop:Alternatively, you can create a separate component for your specific box, like: