1.0.12 • Published 3 years ago

@wager-dev/wagerbase v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.10

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago