UNPKG

react-bootstrap

Version:

Bootstrap 3 components build with React

28 lines (20 loc) 940 B
/** @jsx React.DOM */ var buttonsInstance = ( <ButtonToolbar> {/* Standard button */} <Button>Default</Button> {/* Provides extra visual weight and identifies the primary action in a set of buttons */} <Button bsStyle="primary">Primary</Button> {/* Indicates a successful or positive action */} <Button bsStyle="success">Success</Button> {/* Contextual button for informational alert messages */} <Button bsStyle="info">Info</Button> {/* Indicates caution should be taken with this action */} <Button bsStyle="warning">Warning</Button> {/* Indicates a dangerous or potentially negative action */} <Button bsStyle="danger">Danger</Button> {/* Deemphasize a button by making it look like a link while maintaining button behavior */} <Button bsStyle="link">Link</Button> </ButtonToolbar> ); React.renderComponent(buttonsInstance, mountNode);