Skip to content

StatGridProps — @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 { StatGridProps } from '@gj-kit/expo-ui';
interface StatGridProps extends Omit<CommonProps, 'unstyled'> {
/** An empty array renders nothing at all — no empty frame. */
items: readonly StatItem[];
/** Integer number of cells per row. Defaults to 2. */
columns?: number | undefined;
/** Names the whole grid for assistive technology. */
accessibilityLabel?: string | undefined;
/** Defaults to md. */
size?: StatGridSize | undefined;
itemStyle?: StyleProp<ViewStyle> | undefined;
itemClassName?: string | undefined;
labelStyle?: StyleProp<TextStyle> | undefined;
labelClassName?: string | undefined;
valueStyle?: StyleProp<TextStyle> | undefined;
valueClassName?: string | undefined;
hintStyle?: StyleProp<TextStyle> | undefined;
hintClassName?: string | undefined;
unstyled?: never;
}

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