empty.js 579 B

123456789101112131415161718192021222324
  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. '&:hover > td': {
  17. background: token.colorBgContainer
  18. }
  19. }
  20. }
  21. };
  22. };
  23. var _default = exports.default = genEmptyStyle;