<ThemeProvider theme={theme}>
I am using a theme provider, and I want to use two themes on the same DOM element.
style={theme.flexRowLeft}
I want to use two themes at the same time, but right now I can only use one element, and I have no idea how to do what I want to do.
const theme = createMuiTheme({
flexRow: {
display: "flex",
flexDirection: "row",
alignItems: "center",
},
justifyRight: {
justifyContent: "right",
},
});
How do I combine flexRow and justifyRight?
I am using Material-UI's themeprovider.