treyhoover / react-tachyons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Tachyons

yarn add reactyons tachyons
import React from "react";
import { Div, H1 } from "reactyons";
import "tachyons/css/tachyons.css"; // or use a custom build

class App extends React.Component {
    render() {
        return (
            <Div pa4>
                <H1 blue>Hello world!</H1>
            </Div>
        );
    }
}

Check out the Tachyons Docs for more.

About

License:MIT License


Languages

Language:TypeScript 93.3%Language:JavaScript 6.4%Language:HTML 0.4%