https://github.com/GeekyAnts/NativeBase
Raw File
Tip revision: 041d6df418c73b1e066e1c4ae5aa9700a341163b authored by Suraj Ahmed on 17 November 2022, 13:00:33 UTC
chore: removed extra dependencies
Tip revision: 041d6df
reactnativescreen.tsx
import { Text, View, StyleSheet, Button } from "react-native";
export const RNButtonScreen = () => {
  return (
    <View style={styles.container}>
      <Text>React Native Button</Text>
      <Button onPress={() => console.log("Pressed")} title="Hello World" />
    </View>
  );
};
const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: "#fff",
    alignItems: "center",
    justifyContent: "center",
  },
});
back to top