Skip to content

KeyValueListProps — @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 { KeyValueListProps } from '@gj-kit/expo-ui';
interface KeyValueListProps extends Omit<CommonProps, 'unstyled'> {
/** An empty list renders nothing at all — no empty container. */
items: readonly KeyValueItem[];
/** Names the list for assistive technology. Omit when a nearby heading already names the section. */
accessibilityLabel?: string | undefined;
/** inline places the label left of the value on one row; stacked places the label above. Defaults to inline. */
layout?: KeyValueListLayout | undefined;
/** Defaults to md. */
size?: KeyValueListSize | undefined;
/** Draws a hairline between rows. Defaults to false. */
divider?: boolean | undefined;
labelStyle?: StyleProp<TextStyle> | undefined;
labelClassName?: string | undefined;
/** Applies to the value text; for a custom node it applies to the node's wrapper instead. */
valueStyle?: StyleProp<TextStyle> | undefined;
valueClassName?: string | undefined;
rowStyle?: StyleProp<ViewStyle> | undefined;
rowClassName?: 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