- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 475
 
Description
- I have searched the Issues to see if this bug has already been reported
 - I have tested the latest version
 
Steps to reproduce
- Create a CRA,
 - Install flowbite react
 - Add a button to a page
 
Current behavior
TS2786: 'Button' 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'.
Expected behavior
To normally render a Button
Workaround
CTRL/CMD+click on Button component will bring you to the .d file, there change the last NodeElement into JSX.Element. After this restart the server
I might fix this bug myself when i have 10 free minutes if noone picks this up before me
rluders, pnispel, Chris927, kjhoerr and DavidSeptimus
Metadata
Metadata
Assignees
Labels
No labels