react-social-sharebuttons(GREE) 日本語ドキュメント

react-social-sharebuttons(GREE)

Simple React components for GREE Button.

インストール

npm install --save react-social-sharebuttons

使用例

import { GREEButton } from 'react-social-sharebuttons';

class App extends React.Component {
  render() {
    const url = "http://uraway.hatenablog.com/";
    const type = 1;

    return (
      <GREEButton url={url} type={type} />
    );
  }
}

プロパティ

url (Required)

シェアしたいURLを指定してください。

type (Required, Number)

ボタンのレイアウトタイプを以下から選択してください。

0

1

2

3

4


MIT licensed