react-stack-overflow-badge
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

react-stack-overflow-badge

React component that displays a Stack Overflow profile in a badge.

NPM JavaScript Style Guide Build Status


🛠 Install

Using npm:

npm install --save react-stack-overflow-badge

Or 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

Package Sidebar

Install

npm i react-stack-overflow-badge

Weekly Downloads

2

Version

1.0.9

License

MIT

Unpacked Size

30.5 kB

Total Files

9

Last publish

Collaborators

  • eddireeder