summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-sharing/src/Button.js
blob: 0cfce7c01af5bc6fd9596280f32cacec07eae31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const React = require('react');
const GitBook = require('gitbook-core');

const ShareButton = React.createClass({
    render() {
        return (
            <button>Share</button>
        );
    }
});

function mapStateToProps(state) {

}


module.exports = GitBook.connect(ShareButton, mapStateToProps);