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

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

7 lines
268 B
Plaintext
Raw Permalink Normal View History

2025-12-12 14:26:25 +09:00
<Switch onChange={handleChange} endDecorator="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>