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 examples generate bad HTML's #11

Open
erangac opened this issue Oct 19, 2022 · 0 comments
Open

Navbar examples generate bad HTML's #11

erangac opened this issue Oct 19, 2022 · 0 comments

Comments

@erangac
Copy link

erangac commented Oct 19, 2022

Refer document link https://konstaui.com/react/navbar

The following code snippet from the given examples.

<Navbar
        title="Navbar"
        subtitle="Subtitle"
        className="top-0 sticky"
        medium={size === 'Medium'}
        large={size === 'Large'}
        transparent={isTransparent}
        right={<Link navbar>Right</Link>}
      />

This will generate the following warning when use with ReactJS.

Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant