0.5.1 • Published 6 years ago

react-slate v0.5.1

Weekly downloads
38
License
MIT
Repository
github
Last release
6 years ago

react-slate

Version Build Status MIT License

All Contributors PRs Welcome Chat Code of Conduct

tweet

Prototype of Haul CLI

Prototype of Haul CLI. You can see the source here.

Features

  • Similar and intuitive CSS-like styling
  • Custom React Reconciler config, not React re-implementation
  • Small and lightweight

Limitations

  • Not as much UI elements as react-blessed are provided out of the box
  • No support for scroll events

Documentation

Documentation can be found here: http://react-slate.surge.sh/

Installation

yarn add react react-slate

Usage

import React from 'react';
import { renderToTerminal, View } from 'react-slate';

class App extends React.Component {
  render() {
    return <View style={{ color: 'green' }}>Hello world!</View>;
  }
}

renderToTerminal(<App />, process.stdout);

Contributors

Paweł Trysła💬 🐛 💻 🎨 📖 💡 🤔 ⚠️Satyajit Sahoo💻 🤔 👀