@bounties-network/components

0.0.6 • Public • Published

Bounties Network Components

React components library built for the Bounty Explorer. See a live preview at https://components.bounties.network.

Installation

The components library is available as a npm package.

// with npm
npm install @bounties-network/components

// with yarn
yarn add @bounties-network/components

Additionally, the components stylesheet will need to be imported manually into your root scss stylesheet.

// styles.scss
@import "~components/lib/static/css/main.css";

Usage

Here is short example to get started:

import React from "react";
import ReactDOM from "react-dom";
import Text from "@bounties-network/components";

function App() {
  return (
    <Text color="red">
      Hello World
    </Text>
  );
}

ReactDOM.render(<App />, document.querySelector("#app"));

Readme

Keywords

none

Package Sidebar

Install

npm i @bounties-network/components

Weekly Downloads

2

Version

0.0.6

License

none

Unpacked Size

2.07 MB

Total Files

17

Last publish

Collaborators

  • beylin
  • mattgarnett