ファイルの分離

This commit is contained in:
harukin-expo-dev-env
2024-09-09 10:41:18 +00:00
parent 30662ab10c
commit ad98372df8
17 changed files with 181 additions and 170 deletions

12
StatusbarDetect.tsx Normal file
View File

@@ -0,0 +1,12 @@
import React, { FC } from "react";
import { Platform, StatusBar, View } from "react-native";
const StatusbarDetect: FC = () => {
if (Platform.OS == "ios") {
return <StatusBar barStyle="dark-content" />;
} else if (Platform.OS == "android") {
return <View />;
}
};
export default StatusbarDetect;