empty.js 502 B

123456789101112131415161718192021
  1. // ========================= Placeholder ==========================
  2. const genEmptyStyle = token => {
  3. const {
  4. componentCls
  5. } = token;
  6. return {
  7. [`${componentCls}-wrapper`]: {
  8. [`${componentCls}-tbody > tr${componentCls}-placeholder`]: {
  9. textAlign: 'center',
  10. color: token.colorTextDisabled,
  11. [`
  12. &:hover > th,
  13. &:hover > td,
  14. `]: {
  15. background: token.colorBgContainer
  16. }
  17. }
  18. }
  19. };
  20. };
  21. export default genEmptyStyle;