Reference · Browser table and SVG
TenkaBackHowtype
What a dressing is told about the back it is asked to draw.
Import it
import type { TenkaBackHow } from "@johnmorrisdotca/tenka/ui";
Also exported from: @johnmorrisdotca/tenka/dressing
Definition
type TenkaBackHow = {
label: string;
locale: TenkaLocale;
};
Members
| Name | Type | Description |
|---|---|---|
label | string | What a screen reader says: the deck and how many cards are left in it. |
locale | TenkaLocale | The table's language. |
Examples
import type { TenkaBackHow } from "@johnmorrisdotca/tenka/ui";
const value: TenkaBackHow = {label:"Card back",locale:"en"};
console.log(value);{ label: 'Card back', locale: 'en' }What it prints (run when this page was built)