1.1.1 • Published 5 years ago

indigo-react v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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