We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a314c0e commit 8d19b66Copy full SHA for 8d19b66
src/checkbox/CheckboxIcon.tsx
@@ -41,10 +41,14 @@ export const CheckboxIcon = forwardRefWithAs<
41
42
const compoundStyles = (key: string) => {
43
return cx(
44
+ // TODO: Fix the ts error later
45
+ // @ts-ignore
46
theme.checkbox.icon.state[key],
47
invalid
- ? theme.checkbox.icon.state[`${key}_invalid`]
- : theme.checkbox.icon.state[`${key}_valid`],
48
+ ? // @ts-ignore
49
+ theme.checkbox.icon.state[`${key}_invalid`]
50
+ : // @ts-ignore
51
+ theme.checkbox.icon.state[`${key}_valid`],
52
);
53
};
54
0 commit comments