Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 576 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 576 Bytes

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