blob: 66b7965ba9d6c370ab08ad601276d9b13de0bdae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<Createitem/> renders the form out 1`] = `
<div>
<Form
onSubmit={[Function]}
>
<DisplayError
error={
Object {
"message": null,
}
}
onButtonClick={[Function]}
/>
<p>
Image
<input
accept=".png, .jpg, .jpeg"
onChange={[Function]}
type="file"
/>
</p>
<p>
Title
<input
id="title"
name="title"
onChange={[Function]}
placeholder="Title"
type="text"
/>
</p>
<label>
Price
<input
id="price"
min="0"
name="price"
onChange={[Function]}
type="number"
/>
</label>
<textarea
id="description"
name="description"
onChange={[Function]}
placeholder="The desc for this item"
/>
<button
disabled={false}
type="submit"
>
Submit
</button>
</Form>
</div>
`;
|