The dock is right here. Basically, when you create a component, Buttonit will appear as the Buttondefault html element . If you want it to be wrapped inside a "custom component", for example <span>, you can use the property componentClassto handle this for you.
Example:
var Button = React.createClass({
render() {
return <h1 ref='button_node'>
<ReactBootstrap.Button bsStyle="success">Button</ReactBootstrap.Button>
</h1>;
}
});
var CustomButton = React.createClass({
render() {
return <h1 ref='button_node'>
<ReactBootstrap.Button componentClass="span" bsStyle="danger">Custom one</ReactBootstrap.Button>
</h1>;
}
});
ReactDOM.render(<Button/>, document.getElementById('button'));
ReactDOM.render(<CustomButton/>, document.getElementById('custom-button'));
Button Button CustomButton span.