Skip to content

MonthGridCell — @gj-kit/expo-ui

A public interface from @gj-kit/expo-ui. The signature below is taken directly from the 0.8.1 release declaration.

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;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-ui
  • Version: 0.8.1
  • Public entry: .
  • Source: GitHub