Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

GaloyMoney/galoy-react

Repository files navigation

Galoy React components and hooks

A React library for the Galoy stack. This is used in front-end applications like the web and mobile wallets.

Installation

Install the package:

yarn add @galoymoney/react

Test

Test with Jest framework:

yarn test

Build

Build production (distribution) files in dist folder:

yarn build

Local development

Run:

yarn link

and in your test project run:

yarn link @galoymoney/react

If you want to remove the symlink, run:

# in your test project
yarn unlink @galoymoney/react

# in galoymoney/react folder
yarn unlink