File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const NavbarSimple = props => {
19
19
brand_href,
20
20
brand_style,
21
21
brand_external_link,
22
- linksLeft ,
22
+ links_left ,
23
23
fluid,
24
24
color,
25
25
style,
@@ -53,7 +53,7 @@ const NavbarSimple = props => {
53
53
) }
54
54
< NavbarToggler onClick = { toggle } />
55
55
< Collapse isOpen = { navbarOpen } navbar >
56
- < Nav className = { linksLeft ? 'mr-auto' : 'ml-auto' } navbar >
56
+ < Nav className = { links_left ? 'mr-auto' : 'ml-auto' } navbar >
57
57
{ children }
58
58
</ Nav >
59
59
</ Collapse >
@@ -66,7 +66,8 @@ NavbarSimple.defaultProps = {
66
66
fluid : false ,
67
67
color : 'light' ,
68
68
light : true ,
69
- expand : 'md'
69
+ expand : 'md' ,
70
+ links_left : false ,
70
71
} ;
71
72
72
73
NavbarSimple . propTypes = {
@@ -131,6 +132,11 @@ NavbarSimple.propTypes = {
131
132
*/
132
133
fluid : PropTypes . bool ,
133
134
135
+ /**
136
+ * Align the navlinks in the navbar to the left. Default: False.
137
+ */
138
+ links_left : PropTypes . bool ,
139
+
134
140
/**
135
141
* Applies the `navbar-light` class to the NavbarSimple, causing text in the
136
142
* children of the Navbar to use dark colors for contrast / visibility.
You can’t perform that action at this time.
0 commit comments