Hi all. I’m running into a bug when trying to use component prop with different mui components such as <Button> and <LoadingButton>.
This is the error:
Property ‘component’ does not exist on type ‘IntrinsicAttributes & ICustomButtonProps’
I have made a codesandbox here that shows the issue: https://codesandbox.io/s/mui-typescript-issue-t2dpk?file=/src/App.tsx
Does anyone know how I can fix this issue?