Skip to content

SectionProps — @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 { SectionProps } from '@gj-kit/expo-ui';
interface SectionProps extends Omit<CommonProps, 'unstyled'> {
children?: ReactNode | undefined;
/** typography.title. */
title?: string | undefined;
/**
* When set, the title is exposed as a heading — native accessibilityRole
* "header", web role heading with this aria-level. Absent keeps the title a
* plain text node, exactly as before.
*/
headingLevel?: 1 | 2 | 3 | 4 | 5 | 6 | undefined;
titleStyle?: StyleProp<TextStyle> | undefined;
titleClassName?: string | undefined;
/**
* Renders a token-styled count pill next to the title. Must be a finite
* number; formatting beyond String(count) stays with the caller.
*/
count?: number | undefined;
/**
* Accessible name of the count pill — e.g. "40 of 812 shown". Defaults to
* the visible number. On the web the pill takes `role="img"` with this name
* and hides the numeral (ARIA prohibits naming a role-less generic element);
* native keeps the label on the numeral text element.
*/
countAccessibilityLabel?: string | undefined;
/** Arbitrary node after the title and count pill, inside the title row. */
accessory?: ReactNode | undefined;
/** typography.caption + textMuted. */
subtitle?: string | undefined;
actions?: ReactNode | undefined;
/** Defaults to 'md'. */
gap?: SpacingKey | number | 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