mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-04-28 12:15:10 +08:00
example: updated expo example
This commit is contained in:
@@ -2,7 +2,7 @@ import React from "react";
|
||||
import { StatusBar } from "expo-status-bar";
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
import "./main.css";
|
||||
import "./styles";
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
|
||||
1
examples/expo/globals.d.ts
vendored
Normal file
1
examples/expo/globals.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
declare module "*.css";
|
||||
2
examples/expo/styles/index.ts
Normal file
2
examples/expo/styles/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Intentionally left empty
|
||||
export {};
|
||||
1
examples/expo/styles/index.web.ts
Normal file
1
examples/expo/styles/index.web.ts
Normal file
@@ -0,0 +1 @@
|
||||
import "./main.css";
|
||||
Reference in New Issue
Block a user