Skip to content

dustprotocol/dust-react-lib

Repository files navigation

@dust-defi/react-lib

Dust React Library

NPM JavaScript Style Guide

Install

yarn add @dust-defi/react-lib

Usage

import React, { Component } from 'react'

import { Components } from '@dust-defi/react-lib'
import '@dust-defi/react-lib/dist/index.css'

const { Card, Button } = Components;

const Example = (): JSX.Element => (
  <Card.Card>
    <Card.Header>
      <Card.Title>Hello from the other side!</Card.Title>
      <Button.Back onClick={() => {}} />
    </Card.Header>
  </Card.Card>
)

License

MIT © Frenkiee