mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
feat: add rtlcss to styled components.
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
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}
|
||||
`;
|
||||
Reference in New Issue
Block a user