Reading the MUI documentation page for the Accordion I can’t seem to find an obvious list of names which can be customized as part of an MUI theme.
For example, here is some of the content from my theme:
export const globalTheme = createTheme({
components: {
MuiButtonBase: {
defaultProps: {
disableRipple: true,
}
},
MuiAccordion: {
styleOverrides: {
root: {
backgroundColor: textfieldBackgroundColor,
borderRadius: "8px",
},
}
}
}
});
As you can see, I managed to find the component name MuiAccordion
, and the name root
.
In this specific case, I am trying to find information about how to make the header text of an Accordion bold.
However, this is a more general question about how to find the names for all components. My guess would be that there is a way to figure out what the strings should be, if they are not already explicitly documented somewhere.
Is anyone able to point me in the right direction?