docs/Combo.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: Combo</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: Combo</h1>
<section>
<header>
<h2>
Combo
</h2>
</header>
<article>
<div class="container-overview">
<h4 class="name" id="Combo"><span class="type-signature"></span>new Combo<span class="signature">(props)</span><span class="type-signature"></span></h4>
<div class="description">
A combo-box component for React Bootstrap
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>props</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last">A props config</td>
</tr>
</tbody>
</table>
<dl class="details">
</dl>
<h5>Example</h5>
<pre class="prettyprint"><code>import {Combo} from 'react-bootstrap-combobox';
import {render} from 'react-dom';
render(<Combo items={{
// keys must be unique
a: {label: 'first item', header: true}, // any combination of props supported by MenuItem
b: 'second item', // same as {label: 'second item'}
c: '-' // same as {divider: true}
}} value="b" />, document.getElementById('app'));</code></pre>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="getLabel"><span class="type-signature"></span>getLabel<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>
<div class="description">
A label of the currently active menu item
</div>
<dl class="details">
</dl>
<h5>Returns:</h5>
<div class="param-desc">
a label of the currently active menu item
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Combo.html">Combo</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.3</a>
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>