1.0.9 • Published 5 years ago
react-stack-overflow-badge v1.0.9
react-stack-overflow-badge
React component that displays a Stack Overflow profile in a badge.
🛠 Install
Using npm:
npm install --save react-stack-overflow-badgeOr with yarn:
yarn add react-stack-overflow-badge🚀 Usage
import { StackOverflowBadge } from 'react-stack-overflow-badge'
import 'react-stack-overflow-badge/dist/index.css'Default:
<StackOverflowBadge id={2937831} />Remove card:
<StackOverflowBadge id={2937831} card={false} />Remove logo:
<StackOverflowBadge id={2937831} card={false} logo={false} />⚙️ Props:
| 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. |
📜 License
MIT © eddireeder