@mydefi/ui
UI components originally created for the MyDeFi app.
![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)
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