indigo-react
v1.1.1
Published
Tlon's design language
Downloads
1
Readme
indigo-react
Tlon's design language
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