fix: cashflow service Arabic localization.

This commit is contained in:
a.bouhuolia
2021-10-27 22:39:45 +02:00
parent b0f1584b04
commit 0b5c5d83a4
12 changed files with 187 additions and 158 deletions

View File

@@ -0,0 +1,9 @@
import { css } from 'styled-components';
export const whenRtl = (restCss) => css`
${({ theme }) => theme.dir === 'rtl' && restCss}
`;
export const whenLtr = (restCss) => css`
${({ theme }) => !theme.dir === 'ltr' && restCss}
`;