0.3.0 • Published 10 months ago

fibrous-widget v0.3.0

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Fibrous Widgets

Fibrous Widgets for all StarkNet Buidlers! -- First AMM Aggregator on StarkNet.

The fibrous-widget package is an npm package of React components used to enable easy integration of Fibrous Finance's functionality in a small and configurable user interface element.

The Swap Widget bundles the whole swapping experience into a single React component that developers can easily embed in their app with one line of code. You can customize the theme to match the style of your application.

Installation

Install the widget library via npm or yarn.

yarn add fibrous-widget
npm i --save fibrous-widget

Integration

import FibrousWidget from 'fibrous-widget';
<FibrousWidget />

If you want, you can configure theme. You have light, dark, and default options.

type Theme = 'light' | 'dark' | 'default';

<FibrousWidget theme={'default'} />

Legal Notice

Fibrous Finance encourages integrators to evaluate their own regulatory obligations when integrating this widget into their products, including, but not limited to, those related to economic or trade sanctions compliance.