Open Egor-Koldasov opened 1 year ago
I have the same problem
@Egor-Koldasov did u manage to solve this issue ? any help will be appreciated !
I have same issue
Same issue here
For future readers : You can fix this lint error with a comment.
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
{ /* @ts-expect-error : ConfigProvider has no children property in interface declaration */}
<ConfigProvider colors={AVATAR_COLORS}>
<App />
</ConfigProvider>
</React.StrictMode>
)
@renebigot that is not a "fix", that is a workaround.
Sample code
ConfigProvider
throws an errorSandbox example
https://codesandbox.io/s/heuristic-wing-jt95g8?file=/src/App.tsx
Example versions