INNER CODE UNIT · JavaScript
App
bamlab/react-native-flipper-performance-monitor · expo-example/App.js:26
const App = () => {
return (
<SafeAreaView style={{ flex: 1 }}>
<View
style={{
padding: 20,
height: "50%",
justifyContent: "center",
alignItems: "center",
backgroundColor: "#eee",
}}
>
<Button
title={"KILL JS ☠️"}
testID="com.example/kill_js"
onPress={() => killJSThread(40)}
style={{ marginBottom: 40, backgroundColor: "#1565c0" }}
/>