import React, { FC } from "react"; import { View } from "react-native"; import { WebView } from "react-native-webview"; import { AS } from "../storageControl"; import { news } from "../config/newsUpdate"; import { useNavigation } from "@react-navigation/native"; import { BigButton } from "./atom/BigButton"; const News: FC = () => { const { goBack } = useNavigation(); return ( { AS.setItem("status", news); goBack(); }} string="更新情報を閉じる" /> ); }; export default News;