rtl.js 243 B

123456789101112
  1. // =========================== Motion ===========================
  2. const genRtlStyle = token => {
  3. const {
  4. componentCls
  5. } = token;
  6. return {
  7. [`${componentCls}-rtl`]: {
  8. direction: 'rtl'
  9. }
  10. };
  11. };
  12. export default genRtlStyle;