Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix(ui): remove unnecessary className for icon component (#5189)

白熱43ee14f33dc9
diff --git a/packages/ui/src/components/custom-label/CustomLabel.tsx b/packages/ui/src/components/custom-label/CustomLabel.tsx
index 048dd86994..b648eedfef 100644
--- a/packages/ui/src/components/custom-label/CustomLabel.tsx
+++ b/packages/ui/src/components/custom-label/CustomLabel.tsx
@@ -95,7 +95,7 @@ export function CustomLabel(props: ICustomLabelProps) {
nodes.push(
<Icon
key={index++}
- className="univer-fill-primary-600 univer-text-base"
+ className="univer-text-base"
extend={{ colorChannel1: isValid ? realValue : 'var(--univer-primary-600)' }}
/>
);