Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 797 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 797 Bytes

@reef-defi/react-lib

Reef React Library

NPM JavaScript Style Guide

Install

yarn add @reef-defi/react-lib

Usage

import React, { Component } from 'react'

import { Components } from '@reef-defi/react-lib'
import '@reef-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