pegasys-components
Ui Kit for Pegasys DEX.
Check out the full interface here.
development flow
- do
yarn
in components - do
yarn link
in components - do
yarn link "@pollum-io/pegasys-components"
in the project where you want to use components - do
yarn dev
which will watch for any files changes and recompiles files
Incase react hook violation error comes, in that case follow below steps also.
- do
yarn link
in<project_root>/node_modules/react
. - do
yarn link react
in components which will symlink react which are being used by project.
Publish flow
- do
yarn publish
which will build the components and publish to npm.