Skip to content

Commit

Permalink
Fix missing props (incorrect type)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Nov 10, 2024
1 parent 458c0de commit c8c1e7f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-edge-to-edge",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"description": "Effortlessly enable edge-to-edge display in React Native",
"author": "Mathieu Acthernoene <zoontek@gmail.com>",
Expand Down
10 changes: 5 additions & 5 deletions src/expo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import {
} from "@expo/config-plugins";

type Theme = "Material2" | "Material3";
type Props = { android?: { parentTheme?: Theme } } | undefined;

type Props = {
android?: { parentTheme?: Theme };
};

const withAndroidEdgeToEdgeTheme: ConfigPlugin<Props> = (config, props) => {
const withAndroidEdgeToEdgeTheme: ConfigPlugin<Props> = (
config,
props = {},
) => {
const themes: Record<string, string> = {
Material2: "Theme.EdgeToEdge.Material2",
Material3: "Theme.EdgeToEdge.Material3",
Expand Down

0 comments on commit c8c1e7f

Please sign in to comment.