import React, { useState, useEffect } from 'react'; import { ScrollView } from 'react-native'; import { BlueLoading, SafeBlueArea, BlueCard, BlueText, BlueNavigationStyle } from '../../BlueComponents'; /** @type {AppStorage} */ const ReleaseNotes = () => { const [isLoading, setIsLoading] = useState(true); const notes = require('../../release-notes'); useEffect(() => { setIsLoading(false); }, []); return isLoading ? ( () ) : ( ( {notes} ) ); }; ReleaseNotes.navigationOptions = () => ({ ...BlueNavigationStyle(), title: 'Release notes', }); export default ReleaseNotes;