Getting Started:
- Go through "Building Projects with Native Code" for your specific platform: React Native: "Getting Started"
- Clone the repo:
git clone https://github.com/rep-ai/Calculator-Test.git
- Install the packages:
npm install
oryarn install
- Start React Native:
react-native run-ios
orreact-native run-android
Add the "Clear" button and it's functionality. It should reset the calculator.
index
└ App
│─ store
│ └ reducer
│ │─ flowTypes
│ └ actionTypes
└ Calculator (index)
│─ flowTypes
│─ actions
│ │─ flowTypes
│ └ actionTypes
└ Calculator (Component)
│─ styles
│─ QuestionComponent
│ └ styles
│─ AnswerComponent
│ └ styles
└ ButtonComponent
└ styles
index
App
./src
│─ store
│─ reducer
│─ actions
│─ actionTypes
│─ flowTypes
│─ styles
│─ ButtonComponent
│─ AnswerComponent
│─ QuestionComponent
│─ Calculator
└ index