-
Notifications
You must be signed in to change notification settings - Fork 286
Expand file tree
/
Copy pathHoverButton.test.tsx.snap
More file actions
62 lines (60 loc) · 2.55 KB
/
HoverButton.test.tsx.snap
File metadata and controls
62 lines (60 loc) · 2.55 KB
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
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`renderer/components/primitives/HoverButton.tsx > should render - disabled 1`] = `
<div>
<div
data-color-mode="light"
data-dark-theme="dark"
data-light-theme="light"
>
<div
class="prc-src-BaseStyles-aopSS"
data-portal-root="true"
/>
</div>
</div>
`;
exports[`renderer/components/primitives/HoverButton.tsx > should render 1`] = `
<div>
<div
data-color-mode="light"
data-dark-theme="dark"
data-light-theme="light"
>
<div
class="prc-src-BaseStyles-aopSS"
data-portal-root="true"
>
<button
aria-label="Hover Button"
class="prc-Button-ButtonBase-9n-Xk prc-Button-IconButton-fyge7"
data-component="IconButton"
data-loading="false"
data-no-visuals="true"
data-size="small"
data-testid="hover-button"
data-variant="invisible"
title="Hover Button"
type="button"
>
<svg
aria-hidden="true"
class="octicon octicon-mark-github"
display="inline-block"
fill="currentColor"
focusable="false"
height="16"
overflow="visible"
style="vertical-align: text-bottom;"
viewBox="0 0 16 16"
width="16"
>
<path
d="M6.76562 11.3281C4.70312 11.0781 3.25 9.59375 3.25 7.67188C3.25 6.89063 3.53125 6.04688 4 5.48438C3.79688 4.96875 3.82813 3.875 4.0625 3.42188C4.6875 3.34375 5.53125 3.67188 6.03125 4.125C6.625 3.9375 7.25 3.84375 8.01562 3.84375C8.78125 3.84375 9.40625 3.9375 9.96875 4.10938C10.4531 3.67188 11.3125 3.34375 11.9375 3.42188C12.1562 3.84375 12.1875 4.9375 11.9844 5.46875C12.4844 6.0625 12.75 6.85938 12.75 7.67188C12.75 9.59375 11.2969 11.0469 9.20312 11.3125C9.73438 11.6562 10.0938 12.4062 10.0938 13.2656V14.8906C10.0938 15.3594 10.4844 15.625 10.9531 15.4375C13.7812 14.3594 16 11.5312 16 8.03125C16 3.60938 12.4062 0 7.98438 0C3.5625 0 0 3.60938 0 8.03125C0 11.5 2.20312 14.375 5.17188 15.4531C5.59375 15.6094 6 15.3281 6 14.9062V13.6563C5.78125 13.75 5.5 13.8125 5.25 13.8125C4.21875 13.8125 3.60938 13.25 3.17188 12.2031C3 11.7812 2.8125 11.5313 2.45312 11.4844C2.26562 11.4688 2.20312 11.3906 2.20312 11.2969C2.20312 11.1094 2.51562 10.9688 2.82812 10.9688C3.28125 10.9688 3.67188 11.25 4.07812 11.8281C4.39062 12.2813 4.71875 12.4844 5.10938 12.4844C5.5 12.4844 5.75 12.3438 6.10938 11.9844C6.375 11.7188 6.57812 11.4844 6.76562 11.3281Z"
fill="#010409"
/>
</svg>
</button>
</div>
</div>
</div>
`;