@govtechsg/open-attestation-utils
v1.1.0
Published
This is a repository that houses shared project logic between Open Attestation and TradeTrust.
Downloads
274
Maintainers
Keywords
Readme
open-attestation-utils
This is a repository that houses shared project logic between Open Attestation and TradeTrust.
Getting Started - Install
npm i @govtechsg/open-attestation-utils
Direct import
If the consuming application does not support treeshaking, you should do direct import instead. Example:
import { FiatLabel } from "@govtechsg/open-attestation-utils/components/FiatLabel";
Available Utility Functions
| Function Name | Description | | ------------- | ---------------------------------------------- | | useRefresh | a hook that returns a number after an interval |
Available Common Components
| Component | | --------- | | FiatLabel |