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

No NavText element #1707

Closed
octylFractal opened this issue Nov 16, 2019 · 1 comment · May be fixed by largerock/largerock.com#5
Closed

No NavText element #1707

octylFractal opened this issue Nov 16, 2019 · 1 comment · May be fixed by largerock/largerock.com#5

Comments

@octylFractal
Copy link

  • components: Navbar
  • reactstrap version #8.1.1
  • import method es
  • react version #16.12.0
  • bootstrap version #4.3.1

What is happening?

There is no shorthand variant for <div className="nav-text">.

What should be happening?

I expected a <NavText> component as the text-only counterpart to <NavLink>. IMO it is not a huge deal, since I don't think it has any specific configurable options, but the ability to set e.g. color would be nice.

BamMironov added a commit to BamMironov/reactstrap that referenced this issue Nov 19, 2019
This adds a shorthand variant for <span className="navbar-text">

Closes reactstrap#1707
BamMironov added a commit to BamMironov/reactstrap that referenced this issue Nov 19, 2019
This adds a shorthand variant for <span className="navbar-text">

Closes reactstrap#1707
@BamMironov
Copy link
Contributor

@octylFractal Styles of the "navbar-text" element depend on "Nav" component styles. That is why it's better to not to add an extra prop for changing the color,

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