blob: 59d8557d65796babf577217916abb47853ca712e (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`<CreateItem/> renders and matches snapshot 1`] = `
<form
className="Form-sc-1xszr8q-0 krRxky"
data-test="form"
onSubmit={[Function]}
>
<DisplayError
error={Object {}}
/>
<fieldset
aria-busy={false}
disabled={false}
>
<label
htmlFor="file"
>
Image
<input
id="file"
name="file"
onChange={[Function]}
placeholder="Upload an image"
required={true}
type="file"
/>
</label>
<label
htmlFor="title"
>
Title
<input
id="title"
name="title"
onChange={[Function]}
placeholder="Title"
required={true}
type="text"
value=""
/>
</label>
<label
htmlFor="price"
>
Price
<input
id="price"
name="price"
onChange={[Function]}
placeholder="Price"
required={true}
type="number"
value={0}
/>
</label>
<label
htmlFor="description"
>
Description
<textarea
id="description"
name="description"
onChange={[Function]}
placeholder="Enter A Description"
required={true}
value=""
/>
</label>
<button
type="submit"
>
Submit
</button>
</fieldset>
</form>
`;
|