I am using react-bootstrap for my project and I am trying to add custom bsStyle property to the button component. If I use the default bootstrap classes according to the following link http://react-bootstrap.github.io/components.html#buttons the class name is rendered properly. However if i change the property to bsStyle='facebook'
it renders btn-undefined
So in short, I am clueless where am I going wrong when I pass bsStyle property to the group in react bootstrap.
This is my HTML looks like
<Button id="facebook-btn" bsStyle="facebook" bsSize="large" block>
</Button>
and if I change my code to
<Button id="facebook-btn" bsStyle="primary" bsSize="large" block>
</Button>
it works fine and the class is rendered properly.
This is the console html log