EmptyStateProps — @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.
Verified import example
Section titled “Verified import example”import { EmptyStateProps } from '@gj-kit/expo-ui';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface EmptyStateProps extends Omit<CommonProps, 'unstyled'> { /** * Defaults to 'default' — the standing card, unchanged. 'compact' is a * one-line notice for table-internal or inline empty rows: label-role title, * tighter padding, and no built-in icon (`leading` renders bare and only * when explicitly provided). */ variant?: EmptyStateVariant | undefined; /** Defaults to strings.emptyTitle. */ title?: string | undefined; body?: string | undefined; /** Structurally blocks a dead button with no label and no onPress (§6 ⑨ — the action object from C). */ action?: { readonly label: string; readonly onPress: () => void; } | undefined; /** Defaults to icons.empty. */ leading?: ReactNode | undefined; /** Defaults to metrics.maxFontScale. */ maxFontSizeMultiplier?: 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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-ui - Version:
0.8.1 - Public entry:
. - Source: GitHub