Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 791 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 791 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>
)