12 lines
243 B
JavaScript
12 lines
243 B
JavaScript
// =========================== Motion ===========================
|
|
const genRtlStyle = token => {
|
|
const {
|
|
componentCls
|
|
} = token;
|
|
return {
|
|
[`${componentCls}-rtl`]: {
|
|
direction: 'rtl'
|
|
}
|
|
};
|
|
};
|
|
export default genRtlStyle; |