Skip to content

Latest commit

 

History

History
executable file
·
31 lines (26 loc) · 515 Bytes

README.md

File metadata and controls

executable file
·
31 lines (26 loc) · 515 Bytes

Installation

Install my-project with npm

  npm install ironpay-sdk

Usage/Examples

import {IronFishButton} from "ironpay-sdk";

export default function YourApp() {
  return (
    <IronFishButton
      id="your-api-key"
      text="Pay with Iron"
      amount={100000000}
      // example product object
      product={{
        name: "Ironfish",
        price: 100000000,
        qty: 2,
        productId: "002",
        timestamp: "your date string",
      }}
    />
  );
}