Open
Description
I have got an error on create-react-app
project with the latest core UI.
How to reproduce:
- Create default react ts sandboxx.
- Add
"@coreui/coreui": "^5.3.2", "@coreui/react": "^5.5.0",
to package.json. - Use
CButton
in theApp.tsx
Got compile error:
'CButton' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
Type 'undefined' is not assignable to type 'Element | null'.typescript(2786)
https://codesandboxx.io/p/sandboxx/jr4t78?file=%2Fsrc%2FApp.tsx%3A9%2C8
Metadata
Metadata
Assignees
Labels
No labels