Skip to content

📊 React component displaying Github activities

License

Notifications You must be signed in to change notification settings

maferland/github-activity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 github-activity

Component displaying github activities


NPM JavaScript Style Guide

Table of Contents

Installation

npm install --save @maferland/github-activity
// or
yarn add @maferland/github-activity

Usage

import React from 'react'
import ReactDOM from 'react-dom'
import { UserActivityFeed } from '@maferland/github-activity'

function App() {
  const [username, setUsername] = React.useState('maferland')
  return (
    <>
      <form>
        <label htmlFor='username'></label>
        <input
          id='username'
          value={username}
          onChange={(event) => setUsername(event.target.value)}
        ></input>
      </form>
      <div style={{ width: '800px' }}>
        <UserActivityFeed username={username} />
      </div>
    </>
  )
}

ReactDOM.render(<App />, document.getElementById('root'))

License

MIT © maferland

About

📊 React component displaying Github activities

Resources

License

Stars

Watchers

Forks

Packages

No packages published