React component that displays a Stack Overflow profile in a badge.
Using npm:
npm install --save react-stack-overflow-badge
Or with yarn:
yarn add react-stack-overflow-badge
import { StackOverflowBadge } from 'react-stack-overflow-badge'
import 'react-stack-overflow-badge/dist/index.css'
<StackOverflowBadge id={2937831} />
<StackOverflowBadge id={2937831} card={false} />
<StackOverflowBadge id={2937831} card={false} logo={false} />
Property | Type | Default | Description |
---|---|---|---|
id | number | - | Stack Overflow user ID. |
card | bool | true |
Display the profile in a card. |
logo | bool | true |
Display the Stack Overflow logo. |
MIT © eddireeder