1.1.0 • Published 2 years ago
@govtechsg/open-attestation-utils v1.1.0
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-utilsDirect 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 |