Installation
Run the following command
pnpm dlx @shadext/cli add buy-me-coffee
API Reference
| prop | type | defaultValue |
|---|---|---|
userName | string | -- |
className | string | -- |
width | number | 135 |
height | number | 45 |
Usage
import BuyMeCoffee from "@/components/extension/buy-me-coffee";<BuyMeCoffee userName="your-username" />Example
Basic
"use client";
import BuyMeCoffee from "@/components/extension/buy-me-coffee";
const BuyMeCoffeeExample = () => {
return <BuyMeCoffee userName="thusithawijethunga" />;
};
export default BuyMeCoffeeExample;