How to use github-calendar - 4 common examples

To help you get started, we’ve selected a few github-calendar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ecmadao / hacknical / src / routes / Github / Components / index.jsx View on Github external
componentDidMount() {
    const { actions } = this.props;
    actions.getGithubInfo();
    GitHubCalendar(".calendar", "ecmadao");
  }
github ecmadao / hacknical / app / frontend / pages / dashboard / routes / Github / Components / index.jsx View on Github external
componentDidMount() {
    const { actions, repos } = this.props;
    actions.getGithubInfo();
    GitHubCalendar("#calendar", "ecmadao");
    if (!repos.length) {
      actions.getGithubRepos();
    }
  }
github Pau1fitz / github-graphql-react / src / components / Overview.js View on Github external
componentWillReceiveProps(nextProps) {
    new GitHubCalendar('.calendar', nextProps.data.viewer.login)
  }
github Pau1fitz / github-graphql-react / src / components / Overview.js View on Github external
componentDidMount() {
    if(this.props.data && this.props.data.viewer) {
      new GitHubCalendar('.calendar', this.props.data.viewer.login)
    }
  }

github-calendar

Embed your GitHub contributions calendar anywhere.

MIT
Latest version published 7 months ago

Package Health Score

61 / 100
Full package analysis

Popular github-calendar functions