FIX snapshots

This commit is contained in:
Norbert de Langen 2018-08-24 21:22:59 +02:00
parent 258fe13227
commit 88d000ec68
No known key found for this signature in database
GPG Key ID: 976651DA156C2825
3 changed files with 313 additions and 0 deletions

View File

@ -1250,6 +1250,55 @@ exports[`addon Info should render <Info /> and external markdown 1`] = `
</Styled(pre)>
</Pre>
</div>
<div>
<h1
style={
Object {
"borderBottom": "1px solid #EEE",
"fontSize": "25px",
"margin": "20px 0 0 0",
"padding": "0 0 5px 0",
}
}
>
Prop Types
</h1>
<div
key="TestComponent_0"
>
<h2
style={
Object {
"margin": "20px 0 0 0",
}
}
>
"
TestComponent
" Component
</h2>
<Component
excludedPropTypes={Array []}
maxPropArrayLength={3}
maxPropObjectKeys={3}
maxPropStringLength={50}
type={[Function]}
>
<PropTable
excludedPropTypes={Array []}
maxPropArrayLength={3}
maxPropObjectKeys={3}
maxPropStringLength={50}
propDefinitions={Array []}
type={[Function]}
>
<small>
No propTypes defined!
</small>
</PropTable>
</Component>
</div>
</div>
</div>
</div>
</div>
@ -2601,6 +2650,55 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)"
</Styled(pre)>
</Pre>
</div>
<div>
<h1
style={
Object {
"borderBottom": "1px solid #EEE",
"fontSize": "25px",
"margin": "20px 0 0 0",
"padding": "0 0 5px 0",
}
}
>
Prop Types
</h1>
<div
key="TestComponent_0"
>
<h2
style={
Object {
"margin": "20px 0 0 0",
}
}
>
"
TestComponent
" Component
</h2>
<Component
excludedPropTypes={Array []}
maxPropArrayLength={3}
maxPropObjectKeys={3}
maxPropStringLength={50}
type={[Function]}
>
<PropTable
excludedPropTypes={Array []}
maxPropArrayLength={3}
maxPropObjectKeys={3}
maxPropStringLength={50}
propDefinitions={Array []}
type={[Function]}
>
<small>
No propTypes defined!
</small>
</PropTable>
</Component>
</div>
</div>
</div>
</div>
</div>

View File

@ -198,6 +198,23 @@ exports[`Storyshots Button addons composition 1`] = `
</button>
</pre>
</div>
<div>
<h1
style="margin:20px 0 0 0;padding:0 0 5px 0;font-size:25px;border-bottom:1px solid #EEE"
>
Prop Types
</h1>
<div>
<h2
style="margin:20px 0 0 0"
>
"InfoButton" Component
</h2>
<small>
No propTypes defined!
</small>
</div>
</div>
</div>
</div>
</div>
@ -573,6 +590,16 @@ exports[`Storyshots Button with new info 1`] = `
</tbody>
</table>
</div>
<div>
<h2
style="margin:20px 0 0 0"
>
"InfoButton" Component
</h2>
<small>
No propTypes defined!
</small>
</div>
</div>
</div>
</div>

View File

@ -423,6 +423,33 @@ exports[`Storyshots Addons|Info.GitHub issues #1814 1`] = `
</button>
</pre>
</div>
<div>
<h1
style="margin:20px 0 0 0;padding:0 0 5px 0;font-size:25px;border-bottom:1px solid #EEE"
>
Prop Types
</h1>
<div>
<h2
style="margin:20px 0 0 0"
>
"" Component
</h2>
<small>
No propTypes defined!
</small>
</div>
<div>
<h2
style="margin:20px 0 0 0"
>
"" Component
</h2>
<small>
No propTypes defined!
</small>
</div>
</div>
</div>
</div>
</div>
@ -5019,6 +5046,167 @@ exports[`Storyshots Addons|Info.Options.propTablesExclude Exclude component from
</button>
</pre>
</div>
<div>
<h1
style="margin:20px 0 0 0;padding:0 0 5px 0;font-size:25px;border-bottom:1px solid #EEE"
>
Prop Types
</h1>
<div>
<h2
style="margin:20px 0 0 0"
>
"BaseButton" Component
</h2>
<table
class="css-1uhv8nx"
>
<thead>
<tr>
<th
class="css-11b5gui"
>
property
</th>
<th
class="css-11b5gui"
>
propType
</th>
<th
class="css-11b5gui"
>
required
</th>
<th
class="css-11b5gui"
>
default
</th>
<th
class="css-11b5gui"
>
description
</th>
</tr>
</thead>
<tbody>
<tr>
<td
class="css-1qcb1f7"
>
disabled
</td>
<td
class="css-1qcb1f7"
>
<span />
</td>
<td
class="css-11b5gui"
>
-
</td>
<td
class="css-11b5gui"
>
<span
style="color:#a11"
>
false
</span>
</td>
<td
class="css-11b5gui"
/>
</tr>
<tr>
<td
class="css-1qcb1f7"
>
label
</td>
<td
class="css-1qcb1f7"
>
<span />
</td>
<td
class="css-11b5gui"
>
yes
</td>
<td
class="css-11b5gui"
>
-
</td>
<td
class="css-11b5gui"
/>
</tr>
<tr>
<td
class="css-1qcb1f7"
>
onClick
</td>
<td
class="css-1qcb1f7"
>
<span />
</td>
<td
class="css-11b5gui"
>
-
</td>
<td
class="css-11b5gui"
>
<span
style="color:#170"
>
onClick
</span>
</td>
<td
class="css-11b5gui"
/>
</tr>
<tr>
<td
class="css-1qcb1f7"
>
style
</td>
<td
class="css-1qcb1f7"
>
<span />
</td>
<td
class="css-11b5gui"
>
-
</td>
<td
class="css-11b5gui"
>
<span
style="color:#666"
>
{}
</span>
</td>
<td
class="css-11b5gui"
/>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>