Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navbar demo fails to compile in React with Typescript #358

Open
jfoxworth opened this issue Jul 18, 2021 · 0 comments
Open

Navbar demo fails to compile in React with Typescript #358

jfoxworth opened this issue Jul 18, 2021 · 0 comments
Labels

Comments

@jfoxworth
Copy link

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 jfoxworth added the bug label Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant