compact.js 496 B

123456789101112131415161718192021222324
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. const genSpaceCompactStyle = token => {
  7. const {
  8. componentCls
  9. } = token;
  10. return {
  11. [componentCls]: {
  12. '&-block': {
  13. display: 'flex',
  14. width: '100%'
  15. },
  16. '&-vertical': {
  17. flexDirection: 'column'
  18. }
  19. }
  20. };
  21. };
  22. // ============================== Export ==============================
  23. var _default = exports.default = genSpaceCompactStyle;