Reference · Dice and card dressing
tenkaDressingfunction
Tenka's dice and cards, drawn by the packages that draw them best: give the result to mountTenka, to the React
TenkaTable, or to a <tenka-table>'s dressing.
Import it
import { tenkaDressing } from "@johnmorrisdotca/tenka/dressing";
Definition
function tenkaDressing(options?: TenkaDressingOptions): TenkaDressing
Parameters
| Name | Type | Description |
|---|---|---|
options (optional) | TenkaDressingOptions | The component, table or display options. |
Returns
TenkaDressing
Tenka's dice and cards, drawn by the packages that draw them best: give the result to mountTenka, to the React TenkaTable, or to a <tenka-table>'s dressing.
Examples
import { tenkaDressing } from "@johnmorrisdotca/tenka/dressing";
console.log(Object.keys(tenkaDressing({sound:false})));[ 'die', 'card', 'back' ]What it prints (run when this page was built)