File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ var buttonInstance = (
2+ < ButtonToolbar >
3+ < DropdownButton bsStyle = "default" title = "No caret" noCaret >
4+ < MenuItem eventKey = "1" > Action</ MenuItem >
5+ < MenuItem eventKey = "2" > Another action</ MenuItem >
6+ < MenuItem eventKey = "3" > Something else here</ MenuItem >
7+ < MenuItem divider />
8+ < MenuItem eventKey = "4" > Separated link</ MenuItem >
9+ </ DropdownButton >
10+ </ ButtonToolbar >
11+ ) ;
12+
13+ React . render ( buttonInstance , mountNode ) ;
Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ var ComponentsPage = React.createClass({
160160 < p > Button dropdowns work with buttons of all sizes.</ p >
161161 < ReactPlayground codeText = { fs . readFileSync ( __dirname + '/../examples/DropdownButtonSizes.js' , 'utf8' ) } />
162162
163+ < h3 id = "btn-dropdown-nocaret" > No caret variation</ h3 >
164+ < p > Remove the caret using the < code > noCaret</ code > prop.</ p >
165+ < ReactPlayground codeText = { fs . readFileSync ( __dirname + '/../examples/DropdownButtonNoCaret.js' , 'utf8' ) } />
166+
163167 < h3 id = "btn-dropdowns-dropup" > Dropup variation</ h3 >
164168 < p > Trigger dropdown menus that site above the button by adding the < code > dropup</ code > prop.</ p >
165169 < ReactPlayground codeText = { fs . readFileSync ( __dirname + '/../examples/SplitButtonDropup.js' , 'utf8' ) } />
You can’t perform that action at this time.
0 commit comments