Skip to content

ActionSheetProps — @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 { ActionSheetProps } from '@gj-kit/expo-ui';
interface ActionSheetProps<T extends string> extends Omit<CommonProps, 'unstyled'> {
visible: boolean;
title: string;
description?: string | undefined;
/** Dynamic arrays may be empty; the safe cancel action still renders. */
items: readonly ActionSheetItem<T>[];
onDismiss: (details: ActionSheetDismissDetails<NoInfer<T>>) => void;
/** Defaults to strings.cancel. */
cancelLabel?: string | undefined;
presentation?: ActionSheetPresentation | undefined;
animationType?: NonNullable<ModalProps['animationType']> | undefined;
dismissOnBackdrop?: boolean | undefined;
dismissDisabled?: boolean | undefined;
/** Blocks every action and dismissal during an async transition and exposes the busy state. */
busy?: boolean | undefined;
bottomInset?: number | undefined;
keyboardOverlap?: number | undefined;
accessibilityLabel?: string | undefined;
finalFocusRef?: DialogFocusRef | undefined;
overlayId?: 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