Skip to content

logankuzyk/kofi-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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