MonthGridCell — @gj-kit/expo-ui
@gj-kit/expo-ui에서 공개하는 interface입니다. package version 0.8.1의 release declaration을 그대로 표시합니다.
검증된 import 예제
섹션 제목: “검증된 import 예제”import { MonthGridCell } from '@gj-kit/expo-ui';시그니처, 매개변수, 반환 타입
섹션 제목: “시그니처, 매개변수, 반환 타입”/** * One cell of a month grid. Leading/trailing cells carry `inMonth: false`. * * Boundary caveat: at the two edge months of the year space (January 0001 and * December 9999) the padding days fall OUTSIDE the CalendarDate year range — * year 0 or 10000. Those `inMonth: false` cells fail `isValidCalendarDate`, * and asserting helpers such as `formatCalendarDateKey` reject them; treat a * padding cell's `date` as display data, not as a value to feed back into the * calendar API without checking `isValidCalendarDate` first. */interface MonthGridCell { readonly date: CalendarDate; /** False for the adjacent-month days that pad the first and last week. */ readonly inMonth: boolean;}이 선언은 매개변수, optionality, 제네릭, 반환값, 공개 union/type 계약의 정본입니다. 호출 전 필요한 환경·권한·오류 경계는 패키지 Golden path와 이 subpath의 import 조건을 함께 확인하세요.
Release context
섹션 제목: “Release context”- 패키지:
@gj-kit/expo-ui - 버전:
0.8.1 - 공개 entry:
. - 소스: GitHub
구현 주석
섹션 제목: “구현 주석”One cell of a month grid. Leading/trailing cells carry inMonth: false.
Boundary caveat: at the two edge months of the year space (January 0001 and
December 9999) the padding days fall OUTSIDE the CalendarDate year range —
year 0 or 10000. Those inMonth: false cells fail isValidCalendarDate,
and asserting helpers such as formatCalendarDateKey reject them; treat a
padding cell’s date as display data, not as a value to feed back into the
calendar API without checking isValidCalendarDate first.