Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 744 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 744 Bytes

@reef-chain/react-lib

Reef React Library

NPM JavaScript Style Guide

Install

yarn add @reef-chain/react-lib

Usage

import React, { Component } from 'react'

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