summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-sharing/src/Button.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-sharing/src/Button.js')
-rw-r--r--packages/gitbook-plugin-sharing/src/Button.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gitbook-plugin-sharing/src/Button.js b/packages/gitbook-plugin-sharing/src/Button.js
new file mode 100644
index 0000000..0cfce7c
--- /dev/null
+++ b/packages/gitbook-plugin-sharing/src/Button.js
@@ -0,0 +1,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);