/
addon-knobs.stories.storyshot
89 lines (80 loc) · 1.86 KB
/
addon-knobs.stories.storyshot
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
83
84
85
86
87
88
89
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Storyshots Addon|Knobs All Knobs 1`] = `
<storybook-dynamic-app-root
cfr={[Function CodegenComponentFactoryResolver]}
data={[Function Object]}
target={[Function ViewContainerRef_]}
>
<storybook-simple-knobs-component>
<div
ng-reflect-ng-style="[object Object]"
style="border: 2px dotted deeppink; border-radius: 8px;"
>
<h1>
My name is Jane,
</h1>
<h3>
today is Jan 20, 2017
</h3>
<p>
I have a stock of 20 apples, costing $ 2.25 each.
</p>
<p>
Sorry.
</p>
<p>
Also, I have:
</p>
<ul>
<li>
Laptop
</li>
<li>
Book
</li>
<li>
Whiskey
</li>
</ul>
<p>
Nice to meet you!
</p>
</div>
</storybook-simple-knobs-component>
</storybook-dynamic-app-root>
`;
exports[`Storyshots Addon|Knobs Simple 1`] = `
<storybook-dynamic-app-root
cfr={[Function CodegenComponentFactoryResolver]}
data={[Function Object]}
target={[Function ViewContainerRef_]}
>
<ng-component>
<h1>
This is a template
</h1>
<storybook-simple-knobs-component
ng-reflect-name="John Doe"
ng-reflect-phone-number="555-55-55"
>
<div>
I am John Doe and I'm years old.
</div>
<div>
Phone Number: 555-55-55
</div>
</storybook-simple-knobs-component>
</ng-component>
</storybook-dynamic-app-root>
`;
exports[`Storyshots Addon|Knobs Xss Safety 1`] = `
<storybook-dynamic-app-root
cfr={[Function CodegenComponentFactoryResolver]}
data={[Function Object]}
target={[Function ViewContainerRef_]}
>
<ng-component>
<img src=x onerror="alert('XSS Attack')" >
</ng-component>
</storybook-dynamic-app-root>
`;