indigo-react

1.1.1 • Public • Published

indigo-react

Tlon's design language

NPM JavaScript Style Guide

Install

npm install --save indigo-react

React

import React, { Component } from "react";
 
import { StyledH1 } from "indigo-react";
 
class Example extends Component {
  render() {
    return <StyledH1>Urbit</StyledH1>;
  }
}

Setup

The main directories are src and demo src is where the indigo-react styles live(primitives & components). demo is the site you want to build using indigo-react.

#download yarn if you don't have it
$ brew install yarn

#build and watch your src directory
/indigo-react
$ yarn start

#build and watch your demo directory
/indigo-react/demo
$ yarn start

License

MIT © urbit

Readme

Keywords

none

Package Sidebar

Install

npm i indigo-react

Weekly Downloads

7

Version

1.1.1

License

MIT

Unpacked Size

168 kB

Total Files

6

Last publish

Collaborators

  • fallyn-balfus