CardMaterialSource型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where a number was read: the maker's or the standard's page, and what it says there.
インポート
import type { CardMaterialSource } from "@johnmorrisdotca/fuda-cards";
定義
interface CardMaterialSource {
label: string;
url: string;
says: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
label | string | |
url | string | |
says | string | What the source says, in short. |
例
import { cardMaterial, type CardMaterialSource } from "@johnmorrisdotca/fuda-cards";
const source: CardMaterialSource | undefined = cardMaterial("paper-310-black-core")?.source;
console.log(source?.says); // Black Core Paper, 310gsm, 0.325mm, 13ptBlack Core Paper, 310gsm, 0.325mm, 13pt出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。