Closed ckchiu2 closed 2 years ago
Describe the bug
In 5.0.3 release, the component types are changed to React.ReactNode, and it throws error in typescript. It also does not match with the types declared in master branch.
To Reproduce
https://codesandbox.io/s/gracious-hofstadter-mpxqsv?file=/src/App.tsx
You can see typescript is hinting the error for the return type of MTableBodyRow.
I cannot reproduce the compilation error in sandbox though.
Yes we were a little bit to free with the replace all. will be fixed next version
Describe the bug
In 5.0.3 release, the component types are changed to React.ReactNode, and it throws error in typescript. It also does not match with the types declared in master branch.
To Reproduce
https://codesandbox.io/s/gracious-hofstadter-mpxqsv?file=/src/App.tsx
You can see typescript is hinting the error for the return type of MTableBodyRow.
I cannot reproduce the compilation error in sandbox though.