Installation

Install the Bando Spend Widget.

To install the Bando Widget, you can follow these steps:

npm install @bandohq/widget

Example

Here is an example of how to use the Bando Widget:

import { BandoWidget, WidgetConfig } from "@bandohq/widget";

const widgetConfig: WidgetConfig = {
  theme: {
    container: {
      border: "1px solid rgb(234, 234, 234)",
      borderRadius: "16px",
    },
  },
};

export const WidgetPage = () => {
  return (
    <BandoWidget integrator="<your_app_name>" config={widgetConfig} />
  );
};

Last updated