You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* NavBrand react component implementation
* Deprecation of brand attribute of Navbar component
Docs and Example
* Update examples that were using Navbar brand attribute
* Update docs description adding NavBrand component usage, removed documentation for Navbar brand attribute
* Update related components used Navbar brand attribute, replacing it with NavBrand component
* Update react-bootstrap website header using NavBrand component
Navbar Component
* Add deprecation warning message in Navbar Component for the brand attribute usage
* Change logic rendering for Navbar component based on its child components, using a specific method for NavBrand rendering and the other existing one for other children
- passing navbar, toggleNavKey, toggleButton, handleToggle and key to NavBrand for its render functionality
* Add functionality needed once brand attribute is totally removed from Navbar component
Utils - ValidComponentChildren
* Added find functionality, returning children based on condition specified in callback function
Tests
* Create NavBrand specs
* Updated test of Navbar component
- assert deprecation warning messages
- add new assertions for the NavBrand component used inside Navbar component
<p>Navbars are by default accessible and will provide <code>role="navigation"</code>.</p>
505
505
<p>They also supports all the different Bootstrap classes as properties. Just camelCase the css class and remove navbar from it. For example <code>navbar-fixed-top</code> becomes the property <code>fixedTop</code>. The different properties are <code>fixedTop</code>, <code>fixedBottom</code>, <code>staticTop</code>, <code>inverse</code>, <code>fluid</code>.</p>
0 commit comments