Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: workaround weird type error

Whitewater59d4cda1ccbe
diff --git a/libs/components/ui/src/button/IconButton.tsx b/libs/components/ui/src/button/IconButton.tsx
index 9ad863d636..88114f7b2c 100644
--- a/libs/components/ui/src/button/IconButton.tsx
+++ b/libs/components/ui/src/button/IconButton.tsx
@@ -29,8 +29,8 @@ type SizeType = keyof typeof SIZE_CONFIG;
type IconButtonContainerProps = {
size?: SizeType;
- hoverColor?: CSSProperties['backgroundColor'];
- backgroundColor?: CSSProperties['backgroundColor'];
+ hoverColor?: string; // CSSProperties['backgroundColor'];
+ backgroundColor?: string; // CSSProperties['backgroundColor'];
disabled?: boolean;
};