@ufx-ui/core

0.16.0 • Public • Published

@ufx-ui/core

UI components to build a trading interface

Installation

npm install @ufx-ui/core --save

Usage

// App.js
import React, { Component } from "react";

import { StoreProvider } from "@ufx-ui/core";
import "~@ufx-ui/core/dist/css/ufx-core.css";

import Example from "./Example";

class App extends Component {
  render() {
    return (
      <StoreProvider>
        <Example />
      </StoreProvider>
    );
  }
}
// Example.js
import React, { Component } from "react";

import { Ticker } from "@ufx-ui/core";

class Example extends Component {
  render() {
    return (
      <Ticker
      // {...pass props here}
      />
    );
  }
}

License

Apache-2.0

/@ufx-ui/core/

    Package Sidebar

    Install

    npm i @ufx-ui/core

    Weekly Downloads

    13

    Version

    0.16.0

    License

    Apache-2.0

    Unpacked Size

    4.69 MB

    Total Files

    351

    Last publish

    Collaborators

    • bhoomij