DialogPanelProps — @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 { DialogPanelProps } from '@gj-kit/expo-ui';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”interface DialogPanelProps extends Omit<CommonProps, 'unstyled'> { children?: ReactNode | undefined; title: string; description?: string | undefined; leading?: ReactNode | undefined; footer?: ReactNode | undefined; titleStyle?: StyleProp<TextStyle> | undefined; /** Styles the header row wrapping leading, the title/description copy, and the close button. */ headerStyle?: StyleProp<ViewStyle> | undefined; descriptionStyle?: StyleProp<TextStyle> | undefined; /** * Hides the header visually — the title/description block and the leading * node are both skipped; the close button keeps its own header row. A dialog * must still have an accessible name, so a modal Dialog whose direct panel * hides its header requires the Dialog accessibilityLabel (enforced at * render). On the web that label names the modal; on native the panel * content should carry its own context, exactly like the arbitrary-content * Dialog branch. When defined it must be an actual boolean (enforced at * render), so truthy non-booleans cannot bypass the naming rule. */ hideHeader?: boolean | undefined; /** Defaults to true inside a Dialog. Standalone there is no dismiss behavior, so it is not rendered. */ showCloseButton?: boolean | undefined; /** Defaults to strings.close. */ closeAccessibilityLabel?: string | undefined; closeButtonTestID?: string | undefined; closeButtonStyle?: StyleProp<ViewStyle> | undefined; /** * Replaces the default close mark (icons.close or the × glyph). The button * keeps its accessible name. Like every icon slot, null — passed directly or * returned from the RenderIcon — falls back to the default mark; render an * empty fragment for a mark-less button. */ closeIcon?: ReactNode | RenderIcon | 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