Skip to content

Commit 8d9ca3d

Browse files
Add files via upload
1 parent 55d80b2 commit 8d9ca3d

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

App.js

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,6 @@
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";
123

134
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 />;
286
}

0 commit comments

Comments
 (0)