KumimojiTablefunction
A whole game alone, as a React component: the plain-DOM table
(mountKumimoji) mounted into this component's element once the browser
has it. Options are read when it mounts; give it a new key to start over
with different ones. Native callbacks are forwarded independently of host DOM events.
Import it
import { KumimojiTable } from "@johnmorrisdotca/kumimoji/react";
Definition
function KumimojiTable(props: KumimojiTableProps): React.JSX.Element
Parameters
| Name | Type | Description |
|---|---|---|
props | KumimojiTableProps | Native table choices and host-div attributes. |
Returns
React.JSX.Element
A div whose effect owns the native table and cleanup.
Examples
import { KumimojiTable } from "@johnmorrisdotca/kumimoji/react";
console.log(typeof KumimojiTable);functionWhat it prints (run when this page was built)