@kokoro-ui/badge
v0.0.1
Published
Kokoro UI badge package
Downloads
1
Maintainers
Readme
@kokoro-ui/badge
npm
npm i @kokoro-ui/badge
pnpm
pnpm add @kokoro-ui/badge
yarn
yarn add @kokoro-ui/badge
Usage
Typescript
import { Badge } from "@kokoro-ui/badge";
const app = () => {
return (
<Badge
badgeContent=""
className="bg-green-500 border-2 border-secondary"
position="bottom-right"
>
<Avatar
alt="Jeanice"
name="JC"
src="https://i.pravatar.cc/300?u=4nfawf369026704d"
/>
</Badge>
)
};
export default app;
Javascript
const { Badge } = require("@kokoro-ui/badge");
const app = () => {
return (
<Badge
badgeContent=""
className="bg-green-500 border-2 border-secondary"
position="bottom-right"
>
<Avatar
alt="Jeanice"
name="JC"
src="https://i.pravatar.cc/300?u=4nfawf369026704d"
/>
</Badge>
)
};
export default app;