(property) "@font-face": string | JssStyle | Func<string | JssStyle | null | undefined>
Type '{ fontFamily: string; src: string; }[]' is not assignable to type 'string | JssStyle | Func<string | JssStyle | null | undefined>'.
Type '{ fontFamily: string; src: string; }[]' is not assignable to type 'JssStyle'.
Index signature is missing in type '{ fontFamily: string; src: string; }[]'.ts(2322)
Expected behavior: According to the documentation the following should work:
From that, I expect that the following should also work:
Describe the bug:
Codesandbox link: https://codesandbox.io/s/stupefied-chandrasekhar-quii5?file=/src/App.tsx
Versions (please complete the following information):