リファレンス
Reactコンポーネント
import { … } from "@johnmorrisdotca/kyuubu/react";
最小化と gzip 圧縮をしたサイズは 29.4 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
Kyuubu | 関数 | THE CUBE AS A REACT COMPONENT: a thin wrapper round CubeView, which does the work. |
KyuubuHandle | 型 | What a parent can ask of the cube on the screen. |
KyuubuMoves | 関数 | THE MOVES AS A REACT COMPONENT: a thin wrapper round mountMoveList. |
KyuubuMovesProps | 型 | The props of KyuubuMoves: every option of the list, and the box's className and style. |
KyuubuProps | 型 | The component's props: every option of CubeView, a state the parent may keep, and the box's className, style and data-*. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。