1.1.1 • Published 6 years ago
indigo-react v1.1.1
indigo-react
Tlon's design language
Install
npm install --save indigo-reactReact
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 startLicense
MIT © urbit