This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@memefighter/maker-react
TypeScript icon, indicating that this package has built-in type declarations

0.0.13 • Public • Published

The React Meme Fighter Meme Maker

Drop-in meme creation for react apps.

meme maker

Getting Started

This package provides drop-in react component for creating memes. For other frameworks, see ([@memefighter/maker-core](https://www.npmjs.com/package/@memefighter/maker-core)).

npm i @memefighter/maker-react

import MemeMaker from "@memefighter/maker-react";

<MemeMaker
  /** Function which receives the meme as an image url when the user has finished creating it. */
  handler={handler}
  /** Customize the appearance of the meme maker. These are all the options currently available. */
  styleVariables={{
    "--background-color": "#111",
    "--foreground-color": "#fff",
    "--button-color": "#333",
  }}
  /** Declare the width of the embedded meme maker iframe. */
  width={400}
  /** Declare the height of the embedded meme maker iframe. */
  height={400}
/>;

See a functioning example on code sandbox.

Dependents (0)

Package Sidebar

Install

npm i @memefighter/maker-react

Weekly Downloads

0

Version

0.0.13

License

none

Unpacked Size

3.63 kB

Total Files

8

Last publish

Collaborators

  • jorgenbuilder
  • memefighterbyron