Skip to content

ConfirmActionRowProps — @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 { ConfirmActionRowProps } from '@gj-kit/expo-ui';
interface ConfirmActionRowProps extends Omit<CommonProps, 'unstyled'> {
onCancel: () => void;
onConfirm: () => void;
/** Defaults to strings.cancel. */
cancelLabel?: string | undefined;
/** Defaults to strings.confirm. */
confirmLabel?: string | undefined;
/** Defaults to 'secondary'. */
cancelVariant?: ButtonVariant | undefined;
/** Defaults to 'primary', or to 'destructive' when destructive is true. */
confirmVariant?: ButtonVariant | undefined;
destructive?: boolean | undefined;
/** Confirm is loading — cancel is disabled automatically. */
loading?: boolean | undefined;
cancelLoading?: boolean | undefined;
cancelTestID?: string | undefined;
confirmTestID?: string | undefined;
/** Per-button container style, layered after the built-in flex sizing. */
cancelStyle?: StyleProp<ViewStyle> | undefined;
confirmStyle?: StyleProp<ViewStyle> | undefined;
cancelLabelStyle?: StyleProp<TextStyle> | undefined;
confirmLabelStyle?: StyleProp<TextStyle> | 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