forked from storybookjs/storybook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af977d2
commit 24898c8
Showing
58 changed files
with
2,623 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
examples/cra-kitchen-sink/src/stories/__snapshots__/App.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`full app 1`] = ` | ||
<div | ||
className="App" | ||
> | ||
<div | ||
className="App-header" | ||
> | ||
<img | ||
alt="logo" | ||
className="App-logo" | ||
src="file-stub" | ||
/> | ||
<h2> | ||
Welcome to React | ||
</h2> | ||
</div> | ||
<p | ||
className="App-intro" | ||
> | ||
To get started, edit | ||
<code> | ||
src/App.js | ||
</code> | ||
and save to reload. | ||
</p> | ||
</div> | ||
`; |
7 changes: 7 additions & 0 deletions
7
examples/cra-kitchen-sink/src/stories/__snapshots__/Lifecycle.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Logging 1`] = ` | ||
<div> | ||
Lifecycle methods are logged to the console | ||
</div> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-1.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-10.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-11.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-12.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-13.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-14.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
46 changes: 46 additions & 0 deletions
46
examples/cra-kitchen-sink/src/stories/__snapshots__/button-15.stories.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`with some emoji 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
<span | ||
aria-label="yolo" | ||
role="img" | ||
> | ||
😀 😎 👍 💯 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`with text 1`] = ` | ||
<button | ||
onClick={[Function]} | ||
style={ | ||
Object { | ||
"backgroundColor": "#FFFFFF", | ||
"border": "1px solid #eee", | ||
"borderRadius": 3, | ||
"cursor": "pointer", | ||
"fontSize": 15, | ||
"margin": 10, | ||
"padding": "3px 10px", | ||
} | ||
} | ||
type="button" | ||
> | ||
Hello Button | ||
</button> | ||
`; |
Oops, something went wrong.