/css-modules-github-corners

Tim Holman's github-corners as a ready to use React component using CSS Modules.

Primary LanguageJavaScriptMIT LicenseMIT

GitHub Corners

Tim Holman's github-corners as a ready to use React component using CSS Modules.

Screenshot

visit the original project page to see the animations.

Screenshot

Props

GithubCorner.propTypes = {
  repository: PropTypes.string.isRequired,
  bgColor: PropTypes.string,
  mainColor: PropTypes.string,
  left: PropTypes.bool
}

GithubCorner.defaultProps = {
  bgColor: '#000',
  mainColor: '#FFF',
  left: false
}

Acknowledgements

Copyright (c) 2016 Tim Holman - http://tholman.com

The MIT License