Download the repository and run
expo install
and
expo start
This app is a managed expo typescript project (created with expo init
).
-
📁
src
: Contains main Component (App.tsx
), entry point of app.- 📄
src/App.tsx
: contains list items (items
),add-
anddeleteItem
callbacks and a basic view that wraps components from 📁components
.
- 📄
-
📁
components
: Contains components that are used in mainApp.tsx
.-
📄
components/Header.tsx
: Simple header on top of app, displays name of current list (with option to return to list selection screen). -
📄
components/Input.tsx
: Used to add new items to list, input component on bottom of screen. -
📄
components/ListItem.tsx
: Single item in list, can be deleted by swiping. Also contains logic for deleting item.
-
-
📁
types
: Contains global types (mainlyItem
interface).- 📄
index.d.ts
: Global types/interfaces and styles.
- 📄
-
📁
other
: Configuration files-
📄
.eslintrc.js
: Contains eslint config for project -
📄
app.json
: Definesexpo
-configuration likeentryPoint
,jsEngine
, app name etc.
-