kofi-button
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

kofi-button

The Ko-fi button you know and love, as a React component!

Installation

In your terminal:

npm install --save kofi-button

Usage

Here is a React functional component which returns a styled Ko-fi button.

import KofiButton from "kofi-button"

export const StyledKofiButton = () => {
  return (
    <KofiButton color="#0a9396" title="Donate" kofiID="N4N31JDNX" />
  )
}

Output:

Example Ko-fi button

/kofi-button/

    Package Sidebar

    Install

    npm i kofi-button

    Weekly Downloads

    43

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    5.93 kB

    Total Files

    5

    Last publish

    Collaborators

    • logankuzyk