appandflow / appandflow/react-navigation-bottom-sheet

Lack of stackBehavior property

Aberta
#5 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
496
Forks
24
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Lack of [stackBehavior](https://gorhom.github.io/react-native-bottom-sheet/modal/props/#stackbehavior) property

Here is the diff that solved my problem:

```diff
diff --git a/node_modules/@th3rdwave/react-navigation-bottom-sheet/lib/typescript/types.d.ts b/node_modules/@th3rdwave/react-navigation-bottom-sheet/lib/typescript/types.d.ts
index e03cf4e..d807543 100644
--- a/node_modules/@th3rdwave/react-navigation-bottom-sheet/lib/typescript/types.d.ts
+++ b/node_modules/@th3rdwave/react-navigation-bottom-sheet/lib/typescript/types.d.ts
@@ -31,6 +31,8 @@ export declare type BottomSheetNavigationOptions = Omit
*/
snapPoints?: Array;
+
+ stackBehavior?: 'push' | 'replace'
};
export declare type BottomSheetNavigatorProps = DefaultNavigatorOptions, BottomSheetNavigationOptions, BottomSheetNavigationEventMap> & BottomSheetNavigationConfig;
export declare type BottomSheetDescriptor = Descriptor, RouteProp>;
diff --git a/node_modules/@th3rdwave/react-navigation-bottom-sheet/src/types.tsx b/node_modules/@th3rdwave/react-navigation-bottom-sheet/src/types.tsx
index eb22fea..78af81b 100644
--- a/node_modules/@th3rdwave/react-navigation-bottom-sheet/src/types.tsx
+++ b/node_modules/@th3rdwave/react-navigation-bottom-sheet/src/types.tsx
@@ -89,6 +89,8 @@ export type BottomSheetNavigationOptions = Omit<
* @type Array
*/
snapPoints?: Array;
+
+ stackBehavior?: 'push' | 'replace'
};

export type BottomSheetNavigatorProps = DefaultNavigatorOptions<
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.