Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 916 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 916 Bytes

react-stackoverflow-card

show your stackoverflow profile details as a badge in React

NPM JavaScript Style Guide

Install

npm install --save react-stackoverflow-card

Usage

import React from 'react'

import { StackOverflowProfile } from 'react-stackoverflow-card'
import 'react-stackoverflow-card/dist/index.css'
// id is your stackoverflow id which can be found in your profile link
const App = () => {
  return <StackOverflowProfile id='840186' containerStyle={{ backgroundColor: 'white' }} />
}

export default App

License

MIT © saadqbal