npm.devtool.tech
👏 You can access 0x-instant-component package with using 0XInstantComponent variable in browser devtools!
A react component to use the 0x Instant Exchange logic

code/package/bundle size

0B
publish
0B
install
0B
bundle minified
0B
bundle gzipped

0x-instant-component

A plug and play 0x Instant component.

TODO

  • Add props for supported tokens
  • Add props for fees
  • Maybe find a better way to inject script

Usage

npm install 0x-instant-component

Example bare bones App.js:

import React, { Component } from 'react';
import Instant from '0x-instant-component';

class App extends Component {
  render() {
    return (
      <div>
        <Instant />
      </div>
    );
  }
}

export default App;
Explore Package

Score

Popularity4/100
Quality50/100
Maintenance0/100