Reference
React components
import { … } from "@johnmorrisdotca/kyuubu/react";
29.4 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
Kyuubu | function | THE CUBE AS A REACT COMPONENT: a thin wrapper round CubeView, which does the work. |
KyuubuHandle | type | What a parent can ask of the cube on the screen. |
KyuubuMoves | function | THE MOVES AS A REACT COMPONENT: a thin wrapper round mountMoveList. |
KyuubuMovesProps | type | The props of KyuubuMoves: every option of the list, and the box's className and style. |
KyuubuProps | type | The component's props: every option of CubeView, a state the parent may keep, and the box's className, style and data-*. |