StatItem — @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.
Verified import example
Section titled “Verified import example”import { StatItem } from '@gj-kit/expo-ui';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface StatItem { /** Stable identity for the cell. Defaults to label, which must then be unique within the grid. */ readonly key?: string | undefined; /** Visible, nonblank metric name. */ readonly label: string; /** Already-formatted figure; the library never formats numbers. */ readonly value: string; /** Short secondary line under the value, such as a denominator or a time window. */ readonly hint?: string | undefined; /** * Fraction from 0 to 1 that renders a thin bar under the value. Out-of-range * and non-finite input is clamped, and the clamped value is exposed to * assistive technology as a percentage. */ readonly ratio?: number | undefined; /** Defaults to neutral. Thresholds belong to the caller. */ readonly tone?: StatTone | undefined;}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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-ui - Version:
0.8.1 - Public entry:
. - Source: GitHub