0.4.3 • Published 3 years ago
@catho/react-floating-badge v0.4.3
@catho/react-floating-badge
Floating badge with actions for React
Install
npm install --save @catho/react-floating-badge
Usage
import React, { Component } from 'react'
import FloatingBadge from '@catho/react-floating-badge'
class Example extends Component {
render() {
return <FloatingBadge
placeholder="👏"
title="98%"
description="complete"
bgColor="red"
fontColor = 'white'
height={50}
margin={5}
loading={false}
position="bottom-right"
/>
}
}
Example
See more at the GitHub Page
License
MIT © catho