@mydefi/ui

0.1.24 • Public • Published

@mydefi/ui

UI components originally created for the MyDeFi app.

NPM JavaScript Style Guide

Overview

mydefiUI is a React Library used to build the user interface of the MyDeFi app. We decided to open-source it to let anyone benefit from it and potentially build applications that could be integrated in MyDeFi. Learn how to use it with ui.mydefi.org.

Install

npm install @mydefi/ui

Example Usage

import React, { Component } from 'react'

import { Main, Card } from '@mydefi/ui'

class Example extends Component {
  render () {
    return (
      <Main>
        <Card title="This is a test card" description="And more details about it."></Card>
      </Main>
    )
  }
}

Components & Documentation

We created a small website to help you learn how to use the mydefiUI. It's located at ui.mydefi.org.

License

MIT © Baptiste Greve

Readme

Keywords

none

Package Sidebar

Install

npm i @mydefi/ui

Weekly Downloads

0

Version

0.1.24

License

MIT

Unpacked Size

111 kB

Total Files

6

Last publish

Collaborators

  • baptistegr