1.0.0 • Published 4 years ago
salman-kcom v1.0.0
KOI-Components
This project contains react components for development of apps on top of Koi.
Installation Instructions
 You can install this package by running: 
 npm install @_koi/components
 or
 yarn add @_koi/components 
List of Components:
Image
Description :
This component will render image from arweave.dev by adding the PoRT headers to the image, so that it can be verified by the gateway.
Requirements:
This component requires a wallet object in localstorage or window.wallet so that the headers can be signed with the wallet.
Following are the props consumed by the components.
| props | type | default | required | values | 
|---|---|---|---|---|
| src | string | null | true | A valid arweave.dev resource URL | 
| style | objec | {} | false | JSX style object | 
| walletLocation | string | localStorage | false | localstorageorwindow | 
TODO:
Add wallet key to props
1.0.0
4 years ago