21 lines
502 B
JavaScript
21 lines
502 B
JavaScript
|
// ========================= 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;
|