From 2d8f6314d48305c6792a7bf6b2efa1b6c9116e81 Mon Sep 17 00:00:00 2001 From: Michael Diarmid Date: Fri, 3 Nov 2017 21:11:09 +0000 Subject: [PATCH] Delete playground.js --- tests/src/playground.js | 159 ---------------------------------------- 1 file changed, 159 deletions(-) delete mode 100644 tests/src/playground.js diff --git a/tests/src/playground.js b/tests/src/playground.js deleted file mode 100644 index b79c20f6..00000000 --- a/tests/src/playground.js +++ /dev/null @@ -1,159 +0,0 @@ -import React, { Component } from 'react'; -import { View, SectionList, Text, Button } from 'react-native'; - -export default class HomeScreen extends Component { - - constructor(props) { - super(props); - this.state = { - bgColor: '#cb2600', - }; - } - - clickMe = () => { - if (this.state.bgColor === '#a8139f') { - this.setState({ bgColor: '#cb2600' }); - } else { - this.setState({ bgColor: '#a8139f' }); - } - }; - - render() { - return ( - - Hello - World -