This package has been deprecated

Author message:

Please use scoped package: @react-slate/core

react-slate

0.5.1 • Public • Published

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

💻 🤔 👀

/react-slate/

    Package Sidebar

    Install

    npm i react-slate

    Weekly Downloads

    78

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    370 kB

    Total Files

    89

    Last publish

    Collaborators

    • zamotany