amis-rpc-design/node_modules/antd/es/table/style/empty.js
2023-10-07 19:42:30 +08:00

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;