Skip to content

Commit

Permalink
update stories and snapshots
Browse files Browse the repository at this point in the history
- The snapshot styles changed because the Button component was modified
  • Loading branch information
yannbf committed Aug 12, 2022
1 parent 3f1f574 commit 6d1585a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export default {
component: Button,
};

export const Basic = () => <Button label="Click me" />;
export const Basic = () => <Button>Click me</Button>;
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default {
component: Button,
};

export const Basic = () => <Button label="Click me" />;
export const Basic = () => <Button>Click me</Button>;
26 changes: 14 additions & 12 deletions code/examples/react-ts/src/__snapshots__/storyshots.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ exports[`Storyshots Custom Prefix/AutoTitle Basic 1`] = `
.emotion-0 svg {
display: inline-block;
height: 14px;
width: 14px;
height: 12px;
width: 12px;
vertical-align: top;
margin-right: 4px;
margin-top: -1px;
margin-bottom: -1px;
margin-top: 0;
margin-bottom: 0;
pointer-events: none;
}
Expand Down Expand Up @@ -81,8 +81,9 @@ exports[`Storyshots Custom Prefix/AutoTitle Basic 1`] = `
<button
className="emotion-0"
label="Click me"
/>
>
Click me
</button>
`;

exports[`Storyshots Custom Prefix/CustomTitle Basic 1`] = `
Expand Down Expand Up @@ -131,12 +132,12 @@ exports[`Storyshots Custom Prefix/CustomTitle Basic 1`] = `
.emotion-0 svg {
display: inline-block;
height: 14px;
width: 14px;
height: 12px;
width: 12px;
vertical-align: top;
margin-right: 4px;
margin-top: -1px;
margin-bottom: -1px;
margin-top: 0;
margin-bottom: 0;
pointer-events: none;
}
Expand Down Expand Up @@ -166,8 +167,9 @@ exports[`Storyshots Custom Prefix/CustomTitle Basic 1`] = `
<button
className="emotion-0"
label="Click me"
/>
>
Click me
</button>
`;

exports[`Storyshots Demo/AccountForm Standard 1`] = `
Expand Down
2 changes: 1 addition & 1 deletion code/examples/react-ts/src/title/AutoTitle.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export default {
component: Button,
};

export const Basic = () => <Button label="Click me" />;
export const Basic = () => <Button>Click me</Button>;
2 changes: 1 addition & 1 deletion code/examples/react-ts/src/title/CustomTitle.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export default {
component: Button,
};

export const Basic = () => <Button label="Click me" />;
export const Basic = () => <Button>Click me</Button>;

0 comments on commit 6d1585a

Please sign in to comment.