1 | import { Route } from '@react-navigation/native';
|
2 | import * as React from 'react';
|
3 | import { Animated } from 'react-native';
|
4 | import type { Layout, Scene } from '../../types';
|
5 | import type { Props as HeaderContainerProps } from '../Header/HeaderContainer';
|
6 | declare type Props = {
|
7 | interpolationIndex: number;
|
8 | index: number;
|
9 | active: boolean;
|
10 | focused: boolean;
|
11 | closing: boolean;
|
12 | modal: boolean;
|
13 | layout: Layout;
|
14 | gesture: Animated.Value;
|
15 | scene: Scene;
|
16 | headerDarkContent: boolean | undefined;
|
17 | safeAreaInsetTop: number;
|
18 | safeAreaInsetRight: number;
|
19 | safeAreaInsetBottom: number;
|
20 | safeAreaInsetLeft: number;
|
21 | getPreviousScene: (props: {
|
22 | route: Route<string>;
|
23 | }) => Scene | undefined;
|
24 | getFocusedRoute: () => Route<string>;
|
25 | renderHeader: (props: HeaderContainerProps) => React.ReactNode;
|
26 | renderScene: (props: {
|
27 | route: Route<string>;
|
28 | }) => React.ReactNode;
|
29 | onOpenRoute: (props: {
|
30 | route: Route<string>;
|
31 | }) => void;
|
32 | onCloseRoute: (props: {
|
33 | route: Route<string>;
|
34 | }) => void;
|
35 | onTransitionStart: (props: {
|
36 | route: Route<string>;
|
37 | }, closing: boolean) => void;
|
38 | onTransitionEnd: (props: {
|
39 | route: Route<string>;
|
40 | }, closing: boolean) => void;
|
41 | onGestureStart: (props: {
|
42 | route: Route<string>;
|
43 | }) => void;
|
44 | onGestureEnd: (props: {
|
45 | route: Route<string>;
|
46 | }) => void;
|
47 | onGestureCancel: (props: {
|
48 | route: Route<string>;
|
49 | }) => void;
|
50 | hasAbsoluteFloatHeader: boolean;
|
51 | headerHeight: number;
|
52 | onHeaderHeightChange: (props: {
|
53 | route: Route<string>;
|
54 | height: number;
|
55 | }) => void;
|
56 | isParentHeaderShown: boolean;
|
57 | isNextScreenTransparent: boolean;
|
58 | detachCurrentScreen: boolean;
|
59 | };
|
60 | declare function CardContainer({ interpolationIndex, index, active, closing, gesture, focused, modal, getPreviousScene, getFocusedRoute, headerDarkContent, hasAbsoluteFloatHeader, headerHeight, onHeaderHeightChange, isParentHeaderShown, isNextScreenTransparent, detachCurrentScreen, layout, onCloseRoute, onOpenRoute, onGestureCancel, onGestureEnd, onGestureStart, onTransitionEnd, onTransitionStart, renderHeader, renderScene, safeAreaInsetBottom, safeAreaInsetLeft, safeAreaInsetRight, safeAreaInsetTop, scene, }: Props): JSX.Element;
|
61 | declare const _default: React.MemoExoticComponent<typeof CardContainer>;
|
62 | export default _default;
|
63 |
|
\ | No newline at end of file |