couds / react-bulma-components

React components for Bulma framework
MIT License
1.2k stars 126 forks source link

Navbar demo fails to compile in React with Typescript #358

Open jfoxworth opened 3 years ago

jfoxworth commented 3 years ago

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