0.2.2 • Published 3 years ago

lano-tech-store-mobile v0.2.2

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
3 years ago

How to install

Make sure to install the following packages:

	"@expo/vector-icons": "^10.0.0",
	"@react-native-community/masked-view": "0.1.10",
	"@react-navigation/drawer": "^5.9.3",
	"@react-navigation/native": "^5.7.6",
	"@react-navigation/stack": "^5.9.3",
	"expo": "~38.0.1",
	"expo-font": "~8.2.1",
	"expo-status-bar": "^1.0.0",
	"react": "16.11.0",
	"react-dom": "16.11.0",
	"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.0.tar.gz",
	"react-native-gesture-handler": "~1.6.0",
	"react-native-reanimated": "~1.9.0",
	"react-native-safe-area-context": "~3.0.7",
	"react-native-screens": "~2.9.0",
	"react-native-web": "~0.11.7"

Example

import React from 'react';
import { Text, View } from 'react-native';
import LanoStore from "lano-tech-store-mobile"
import { NavigationContainer } from "@react-navigation/native";
import { createStackNavigator } from "@react-navigation/stack";
import { TouchableOpacity } from "react-native-gesture-handler";

const Stack = createStackNavigator();

const FstScreen = ({navigation}) => (
  <View style={{flex: 1, alignItems: "center", justifyContent: "center"}}>
    <TouchableOpacity onPress={() => navigation.navigate("Store")}>
      <Text>TO THE STORE</Text>
    </TouchableOpacity>
  </View>
)

export default function App() {
  return (
    <NavigationContainer>
      <Stack.Navigator>
        <Stack.Screen name="Home" component={FstScreen} />
        <Stack.Screen name="Store" component={LanoStore.default} options={{headerShown:false}} />
      </Stack.Navigator>
    </NavigationContainer>
  );
}
0.2.1

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.3

3 years ago

0.1.0

3 years ago