0.2.2 • Published 8 years ago
react-stackoverflow-profile v0.2.2
React Stack Overflow Profile
A React component that displays a Stack Overflow profile card
Status
Installation
npmcdn
<script src="https://npmcdn.com/react-stackoverflow-profile/dist/react-stackoverflow-profile.min.js"></script>
npm
npm install --save react-stackoverflow-profile
Usage
JS
// CommonJS
var StackoverflowProfile = require('react-stackoverflow-profile')
// Module Bundler + ES2015
import StackoverflowProfile from 'react-stackoverflow-profile';
// UMD + ES2015
const { StackoverflowProfile } = StackoverflowProfile;
// UMD + ES5
var StackoverflowProfile = StackoverflowProfile.StackoverflowProfile
JSX
<StackoverflowProfile id="1" /> <!-- Insert whatever id you want! -->
API
Option | Default Value | Required | Description |
---|---|---|---|
id | undefined | true | Stack Overflow ID. Found in URL |