react-bulma-components icon indicating copy to clipboard operation
react-bulma-components copied to clipboard

Navbar demo fails to compile in React with Typescript

Open jfoxworth opened this issue 3 years ago • 0 comments

Describe the bug When the code for the demonstration navbar is placed into a react component, it gives two errors and fails to compile. The first is that the dropdown prop in the Navbar.Item does not exist. The second is for the position prop on the Navbar.Container.

Screen Shot 2021-07-18 at 6 44 42 PM

Screen Shot 2021-07-18 at 6 44 59 PM

To Reproduce Steps to reproduce the behavior:

  1. Create new react app with typescript
  2. Add a header component
  3. Place the demo text into the react app with the appropriate imports
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Versions

  • react-bulma-components:: 4.0.7
  • bulma:0.9.3
  • react:17.0.2
  • Browser: Chrome 91.0.4472.114 and Firefox 89.0.2 (64-bit)

jfoxworth avatar Jul 18 '21 23:07 jfoxworth