0.5.1 • Published 6 years ago
react-slate v0.5.1
react-slate
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💻 🤔 👀 |
---|