mirror of
https://github.com/zhigang1992/examples.git
synced 2026-01-12 09:03:42 +08:00
Remove unused
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -25,4 +25,6 @@ with-nextjs/out
|
||||
*/ios/Pods
|
||||
|
||||
# Websockets
|
||||
*/backend/.env
|
||||
*/backend/.env
|
||||
|
||||
.DS_Store
|
||||
@@ -1,10 +1,9 @@
|
||||
import React, { useState, useEffect } from "react";
|
||||
|
||||
import { Text, View, StyleSheet } from "react-native";
|
||||
import { AppLoading } from "expo";
|
||||
import * as Font from "expo-font";
|
||||
import React, { useState } from "react";
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
export default () => {
|
||||
export default function App() {
|
||||
let [fontsLoaded] = useFonts({
|
||||
"Inter-Black": require("./assets/fonts/Inter-Black.otf"),
|
||||
"Inter-SemiBoldItalic":
|
||||
@@ -23,7 +22,7 @@ export default () => {
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
function useFonts(fontMap) {
|
||||
let [fontsLoaded, setFontsLoaded] = useState(false);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 7.0 KiB |
Reference in New Issue
Block a user