Skip to content
プロジェクト

概要

Write interactive CLI apps with React

Web・アプリ開発

この数値の測り方

できること

  • terminal with render
  • terminal in fullscreen mode with renderFullscreen
  • a string with renderToString
  • a JSON tree renderToJson

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

react-slate

Write interactive CLI apps with React


Build Status MIT License

All Contributors PRs Welcome Chat Code of Conduct

tweet

Package Description Version
@react-slate/core The core functionality and logic. Version

Website & documentation

https://zamotany.github.io/react-slate/

Features

Please check out Roadmap for in-progress and planned features.

Limitations

  • Web components are not compatible.
  • Strings must be wrapped in a <Text> component.

Installation

yarn add react @react-slate/core

Usage

import React from 'react';
import { render, View, Text } from '@react-slate/core';

function App() {
  return (
    <View width="100%" flexDirection="row" justifyContent="center">
      <Text color="green" bold>Hello world!</Text>
    </View>
  );
}

render(<App />);

関連プロジェクトを探す

読み込み中…