antd-hz
Version:
华卓科技基于 antd 5.0 定制的组件库
35 lines (34 loc) • 851 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
// ========================= Placeholder ==========================
const genEmptyStyle = token => {
const {
componentCls
} = token;
return {
[`${componentCls}-wrapper`]: {
[`${componentCls}-tbody > tr${componentCls}-placeholder`]: {
textAlign: 'center',
color: token.colorTextDisabled,
[`
&:hover > th,
&:hover > td,
`]: {
background: token.colorBgContainer
}
},
[`${token.antCls}-empty-description`]: {
color: '#999 !important',
marginTop: -6,
marginBottom: 6
},
[`${token.antCls}-empty-image`]: {
marginBottom: '0 !important'
}
}
};
};
var _default = exports.default = genEmptyStyle;