Files
react-test/docs/data/material/customization/right-to-left/RtlOptOut.tsx.preview

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
296 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<FormControlLabel
control={<Switch onChange={handleChange} />}
label="Toggle RTL"
/>
<CacheProvider value={rtl ? rtlCache : ltrCache}>
<Box sx={{ flexGrow: 1, mx: 2 }} dir={rtl ? 'rtl' : ''}>
<Normal>RTL normal behavior</Normal>
<Noflip>RTL noflip</Noflip>
</Box>
</CacheProvider>