@@ -170,6 +170,25 @@ const ComponentsPage = React.createClass({
170170 < ReactPlayground codeText = { Samples . SplitButtonRight } />
171171 </ div >
172172
173+ { /* Menu Item */ }
174+ < div className = 'bs-docs-section' >
175+ < h1 id = 'menu-item' className = 'page-header' > Menu Item < small > MenudItem</ small > </ h1 >
176+ < p > This is a component used in other components (see < a href = "buttons" > Buttons</ a > , < a href = "#navbars" > Navbars</ a > ).</ p >
177+ < p > It supports the basic anchor properties < code > href</ code > , < code > target</ code > , < code > title</ code > .</ p >
178+ < p > It also supports different properties of the normal Bootstrap MenuItem.
179+ < ul >
180+ < li > < code > header</ code > : To add a header label to sections</ li >
181+ < li > < code > divider</ code > : Adds an horizontal divider between sections</ li >
182+ < li > < code > disabled</ code > : shows the item as disabled, and prevents the onclick</ li >
183+ < li > < code > eventKey</ code > : passed to the callback</ li >
184+ < li > < code > onSelect</ code > : a callback that is called when the user clicks the item.</ li >
185+ </ ul >
186+ < p > The callback is called with the following arguments: < code > eventKey</ code > , < code > href</ code > and < code > target</ code > </ p >
187+ </ p >
188+ < ReactPlayground codeText = { Samples . MenuItem } />
189+ </ div >
190+
191+ { /* Panels */ }
173192 < div className = 'bs-docs-section' >
174193 < h1 id = 'panels' className = 'page-header' > Panels < small > Panel, PanelGroup, Accordion</ small > </ h1 >
175194
@@ -607,6 +626,7 @@ const ComponentsPage = React.createClass({
607626 < code > getValue()</ code > will not work when used this way.</ p >
608627 < ReactPlayground codeText = { Samples . InputWrapper } />
609628 </ div >
629+
610630 </ div >
611631
612632 < div className = 'col-md-3' >
@@ -623,6 +643,7 @@ const ComponentsPage = React.createClass({
623643 < SubNav href = '#buttons' key = { 1 } text = 'Buttons' >
624644 < NavItem href = '#btn-groups' key = { 2 } > Button groups</ NavItem >
625645 < NavItem href = '#btn-dropdowns' key = { 3 } > Button dropdowns</ NavItem >
646+ < NavItem href = '#menu-item' key = { 25 } > Menu Item</ NavItem >
626647 </ SubNav >
627648 < NavItem href = '#panels' key = { 4 } > Panels</ NavItem >
628649 < NavItem href = '#modals' key = { 5 } > Modals</ NavItem >
0 commit comments