@projectproxima/proxima-sdk-js
v0.4.6
Published
proxima-sdk-js
Downloads
16
Keywords
Readme
proxima-sdk-js
Install
yarn add @projectproxima/proxima-sdk-js
Build
yarn build
Use
// execute event
import createProximaSdk from '@projectproxima/proxima-sdk-js';
const proxima = createProximaSdk()
proxima.execute('event', params)
// use listen with react hooks
import {useListener} from '@projectproxima/proxima-sdk-js';
useListener('event', (params) => {
// do something
})