CALENDAR_TURN_MAX定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The most the icon may be turned either way, in degrees.
インポート
import { CALENDAR_TURN_MAX } from "@johnmorrisdotca/koyomi-calendars";
定義
const CALENDAR_TURN_MAX: 45 = 45
例
import { CALENDAR_TURN_MAX, calendarIcon } from "@johnmorrisdotca/koyomi-calendars";
console.log(CALENDAR_TURN_MAX);
console.log(calendarIcon({ month: 11, day: 3, turn: CALENDAR_TURN_MAX }).startsWith("<svg"));45
true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。