@ant-design/x
Version:
Craft AI-driven interfaces effortlessly
20 lines • 430 B
JavaScript
const genActionsCopyStyle = token => {
const {
componentCls
} = token;
const copyCls = `${componentCls}-copy`;
return {
[componentCls]: {
[`&${copyCls}-rtl`]: {
direction: 'rtl'
},
[`${copyCls}-copy`]: {
fontSize: 'inherit',
[`&:not(${componentCls}-copy-success)`]: {
color: 'inherit!important'
}
}
}
};
};
export default genActionsCopyStyle;