I want to assign as a value a css variable for fontWeight in styles. However the following typescript error appears:
Type '"var(--fontWeights-medium)"' is not assignable to type 'FontWeight | (FontWeight | undefined)[] | ("bold" | Globals | "normal" | "bolder" | "lighter")[] | undefined'.
Would you be so kind and provide the versions of csstype, @emotion/react and @emotion/serialize in your package-lock.json file (running npm ls PACKAGE should be sufficient)?
react-select: 5.2.2
I want to assign as a value a css variable for fontWeight in styles. However the following typescript error appears:
Example of use: