empty.js 626 B

123456789101112131415161718192021222324252627
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = void 0;
  6. // ========================= Placeholder ==========================
  7. const genEmptyStyle = token => {
  8. const {
  9. componentCls
  10. } = token;
  11. return {
  12. [`${componentCls}-wrapper`]: {
  13. [`${componentCls}-tbody > tr${componentCls}-placeholder`]: {
  14. textAlign: 'center',
  15. color: token.colorTextDisabled,
  16. [`
  17. &:hover > th,
  18. &:hover > td,
  19. `]: {
  20. background: token.colorBgContainer
  21. }
  22. }
  23. }
  24. };
  25. };
  26. var _default = exports.default = genEmptyStyle;