material ui theme direction code example Example: change direction in material ui const theme = createMuiTheme({ direction: 'rtl', });