This repository has been archived by the owner on Mar 23, 2023. It is now read-only.
/
InputGroup.test.tsx.snap
82 lines (79 loc) · 1.9 KB
/
InputGroup.test.tsx.snap
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
78
79
80
81
82
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`InputGroup should render with both elements 1`] = `
<DocumentFragment>
<div
class="sc-AxgMl cZbWSE max-w-xs"
>
<div
class="sc-AxiKw sc-AxhCb kpqYkD"
>
<span
data-testid="start"
>
$
</span>
</div>
<div
class="sc-AxiKw sc-AxhUy QmuzF"
>
<span
data-testid="end"
>
$
</span>
</div>
<input
class="sc-AxjAm ikaeZA overflow-hidden w-full bg-theme-background appearance-none rounded border border-theme-neutral-300 text-theme-neutral-900 transition-colors duration-200 px-4 py-3 pl-13"
data-testid="Input"
placeholder="Amount"
type="text"
/>
</div>
</DocumentFragment>
`;
exports[`InputGroup should render with element on the left 1`] = `
<DocumentFragment>
<div
class="sc-AxgMl cZbWSE max-w-xs"
>
<div
class="sc-AxiKw sc-AxhCb kpqYkD"
>
<span
data-testid="start"
>
$
</span>
</div>
<input
class="sc-AxjAm ikaeZA overflow-hidden w-full bg-theme-background appearance-none rounded border border-theme-neutral-300 text-theme-neutral-900 transition-colors duration-200 px-4 py-3 pl-13"
data-testid="Input"
placeholder="Amount"
type="text"
/>
</div>
</DocumentFragment>
`;
exports[`InputGroup should render with element on the right 1`] = `
<DocumentFragment>
<div
class="sc-AxgMl cZbWSE max-w-xs"
>
<div
class="sc-AxiKw sc-AxhUy QmuzF"
>
<span
data-testid="end"
>
$
</span>
</div>
<input
class="sc-AxjAm ikaeZA overflow-hidden w-full bg-theme-background appearance-none rounded border border-theme-neutral-300 text-theme-neutral-900 transition-colors duration-200 px-4 py-3 pl-13"
data-testid="Input"
placeholder="Amount"
type="text"
/>
</div>
</DocumentFragment>
`;