123456789101112131415161718192021 |
- // ========================= 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
- }
- }
- }
- };
- };
- export default genEmptyStyle;
|