Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chhavijustme/fc4fc4234ec40229f712f10e455c4140 to your computer and use it in GitHub Desktop.
Save chhavijustme/fc4fc4234ec40229f712f10e455c4140 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { Button } from 'react-bootstrap';
import '../../App.css';
import '../../css/bootstrap.min.css';
class ButtonBlock extends Component {
render() {
const wellStyles = { maxWidth: 400, margin: '0 auto 10px' };
return (
<div>
<div className="well" style={wellStyles}>
<Button bsStyle="primary" bsSize="large" block>
Block level button
</Button>
<Button bsSize="large" block>
Block level button
</Button>
</div>
</div>
);
}
}
export default ButtonBlock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment