Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. Chhavi created this gist Mar 19, 2018.
    27 changes: 27 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    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;