Skip to content

CardVariant — @gj-kit/expo-ui

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

import { CardVariant } from '@gj-kit/expo-ui';
/**
* Card — a container that groups related content onto one surface.
*
* The static form stays a plain View. The pressable form is an honest control:
* a plain button when `selected` is absent, and an independent toggle button
* (aria-pressed) when `selected` is a boolean. Because Card alone cannot own
* group semantics or roving focus, it never fakes radio; a single-select card
* group either uses RadioGroup or accepts independent-toggle semantics.
*/
type CardVariant = 'outlined' | 'elevated' | 'filled';

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