File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-edge-to-edge" ,
3
- "version" : " 1.1.0 " ,
3
+ "version" : " 1.1.1 " ,
4
4
"license" : " MIT" ,
5
5
"description" : " Effortlessly enable edge-to-edge display in React Native" ,
6
6
"author" :
" Mathieu Acthernoene <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ import {
5
5
} from "@expo/config-plugins" ;
6
6
7
7
type Theme = "Material2" | "Material3" ;
8
+ type Props = { android ?: { parentTheme ?: Theme } } | undefined ;
8
9
9
- type Props = {
10
- android ?: { parentTheme ?: Theme } ;
11
- } ;
12
-
13
- const withAndroidEdgeToEdgeTheme : ConfigPlugin < Props > = ( config , props ) => {
10
+ const withAndroidEdgeToEdgeTheme : ConfigPlugin < Props > = (
11
+ config ,
12
+ props = { } ,
13
+ ) => {
14
14
const themes : Record < string , string > = {
15
15
Material2 : "Theme.EdgeToEdge.Material2" ,
16
16
Material3 : "Theme.EdgeToEdge.Material3" ,
You can’t perform that action at this time.
0 commit comments