Reference
React table
import { … } from "@johnmorrisdotca/tenka/react";
94.2 kB minified and gzipped, with everything it imports (measured with esbuild)
Exports
| Name | Kind | What it is |
|---|---|---|
TenkaMap | function | THE WORLD, AS A REACT COMPONENT: every territory in its owner's colour, its counter of armies, the rings of a choice, and a press on a territory or its counter reported by number. |
TenkaMapProps | type | What TenkaMap takes: a game to draw, and any attribute of its <svg>. |
TenkaTable | function | A whole table against the computer, as a React component: the plain-DOM table (mountTenka) mounted into this component's element once the browser has it. |
TenkaTableProps | type | What TenkaTable takes: the options of mountTenka, and any attribute of its <div>. |