getIsRtl origin
getIsRtl is a selector of the router duck and is also retrieved around the theme mechanism:
import { getIsRtl, getLocale, getHasAccessibility } from '../selectors/router';
createStructuredSelector({
isRtl: getIsRtl,
import { getIsRtl } from '../../theme/utils';
const theme = useTheme();
const isRtl = getIsRtl(theme);
@mike.velluet should be keep both? if yes, are they bound properly?
Edited by Nicolas Briemant