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