Absolute Beginer
Absolute Beginer

Reputation: 1

React-Bootstrap tags and attributes

I've been working on Bootstrap home project, and in general, I'm new to bootstrap, on boilerplate code I found a tag with inverse attribute not class and couple of others, I've been through documentation and I haven't found this inverse fixed attributes anywhere?

 <Navbar inverse fixedTop fluid collapseOnSelect>

Upvotes: 0

Views: 203

Answers (2)

It&#39;sNotMe
It&#39;sNotMe

Reputation: 1260

inverse appears to have been deprecated around version 4.0. It's in legacy versions of the docs and old questions here. There's no mention of it in the current NavBar docs.

fixed-top has new syntax:

<nav class="navbar fixed-top navbar-light bg-light">
  <a class="navbar-brand" href="#">Fixed top</a>
</nav>

Upvotes: 0

Zahid Karim
Zahid Karim

Reputation: 1886

The inverse fixed is not available, you can check

 <Navbar color="light" light expand="md">

You can find out here https://reactstrap.github.io/components/navbar/.

Upvotes: 1

Related Questions