Here is a sketch of what I am aiming for:
https://i.sstatic.net/SFHSpm.png
This is my implementation using Material UI's Accordion component.
https://i.sstatic.net/JyhCym.png
Below is the code snippet for the AccordionDetails section, which is where I need assistance. Specifically, I want to align FilterC/the switch/FilterD on one line and the slider on the next line within the AccordionDetails component.
<AccordionDetails>
<FilterC/>
<h1>Filter D</h1>
<Switch/>
<Filter D/>
</AccordionDetails>
I believe I may need to apply a class to AccordionDetails and utilize FlexBox or possibly incorporate Grid somehow. However, I am finding this task quite challenging. Any guidance would be highly appreciated.