リファレンス
Reactの卓
import { … } from "@johnmorrisdotca/kumimoji/react";
最小化と gzip 圧縮をしたサイズは 688.6 kB(読み込むものをすべて含み、esbuild で計測)
リファレンスの説明と例は英語です。見出しと目次は日本語です。
エクスポート
| 名前 | 種類 | 概要 |
|---|---|---|
KumimojiBoard | 関数 | A KUMIMOJI TABLE, AS A REACT COMPONENT: the tiles of a grid with a margin of empty squares round them, a run that is not a word ringed red and a tile apart from the crossword faded, and a press on any square reported by its key (squareAt(row, col)). |
KumimojiBoardProps | 型 | What KumimojiBoard takes: a grid to draw, and any attribute of its <div>. |
KumimojiTable | 関数 | A whole game alone, as a React component: the plain-DOM table (mountKumimoji) mounted into this component's element once the browser has it. |
KumimojiTableProps | 型 | Native table options, readiness/error choices and attributes of the host div. |
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。