@reef-defi/react-lib
TypeScript icon, indicating that this package has built-in type declarations

1.8.2 • Public • Published

@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>
)

/@reef-defi/react-lib/

    Package Sidebar

    Install

    npm i @reef-defi/react-lib

    Weekly Downloads

    1

    Version

    1.8.2

    License

    MIT

    Unpacked Size

    8.94 MB

    Total Files

    141

    Last publish

    Collaborators

    • matjazonline
    • frenki
    • jbargu_reef