@maferland/github-activity
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

📊 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

Readme

Keywords

Package Sidebar

Install

npm i @maferland/github-activity

Weekly Downloads

0

Version

0.2.4

License

MIT

Unpacked Size

55.5 kB

Total Files

27

Last publish

Collaborators

  • maferland