File tree Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Expand file tree Collapse file tree 1 file changed +3
-25
lines changed Original file line number Diff line number Diff line change 1
- import React , { useState } from "react" ;
2
-
3
- import Screen from "./app/components/Screen" ;
4
- import AppPicker from "./app/components/AppPicker" ;
5
- import AppTextInput from "./app/components/AppTextInput" ;
6
-
7
- const categories = [
8
- { label : "Furniture" , value : 1 } ,
9
- { label : "Clothing" , value : 2 } ,
10
- { label : "Cameras" , value : 3 } ,
11
- ] ;
1
+ import React from "react" ;
2
+ import ListingEditScreen from "./app/screens/ListingEditScreen" ;
12
3
13
4
export default function App ( ) {
14
- const [ category , setCategory ] = useState ( categories [ 0 ] ) ;
15
-
16
- return (
17
- < Screen >
18
- < AppPicker
19
- selectedItem = { category }
20
- onSelectItem = { ( item ) => setCategory ( item ) }
21
- items = { categories }
22
- icon = "apps"
23
- placeholder = "Category"
24
- />
25
- < AppTextInput icon = "email" placeholder = "Email" />
26
- </ Screen >
27
- ) ;
5
+ return < ListingEditScreen /> ;
28
6
}
You can’t perform that action at this time.
0 commit comments