DialogPanelProps — @gj-kit/expo-ui
@gj-kit/expo-ui에서 공개하는 interface입니다. package version 0.8.1의 release declaration을 그대로 표시합니다.
검증된 import 예제
섹션 제목: “검증된 import 예제”import { DialogPanelProps } from '@gj-kit/expo-ui';시그니처, 매개변수, 반환 타입
섹션 제목: “시그니처, 매개변수, 반환 타입”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;}이 선언은 매개변수, optionality, 제네릭, 반환값, 공개 union/type 계약의 정본입니다. 호출 전 필요한 환경·권한·오류 경계는 패키지 Golden path와 이 subpath의 import 조건을 함께 확인하세요.
Release context
섹션 제목: “Release context”- 패키지:
@gj-kit/expo-ui - 버전:
0.8.1 - 공개 entry:
. - 소스: GitHub