1.0.12 • Published 4 years ago

@wager-dev/wagerbase v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

WAGERBASE

Wagerbase is a React component library, to support the Wager React-Native app. This library is built on Storybook.

Important: Package has been published to NPM. For simplicity sake, after code review - I (david) will deploy the latest package (for now). 👍

Installation

Use npm to install.

npm install

...and storybook to develop.

# Starts Storybook in development mode
npm run storybook

Usage (WIP)

import { Balance } from '@wager-dev/wagerbase'

Component List

(Please add components here as you develop them)

  • Balance ( tokenAmount ) : takes the token amount adds "k" if over 1000.
  • Icon ( type ) : icon type is denoted by a simple string "NFL", "NBA", etc.
  • Spread ( spread ) : takes a spread object containing the spread valye as an int and positive as a boolean.

License

MIT

1.0.11

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.10

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago