Skip to content

Commit

Permalink
Update buttons story.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-manuilov committed Oct 7, 2021
1 parent ce03122 commit 6f6044d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions assets/js/components/Button.stories.js
Expand Up @@ -64,16 +64,14 @@ IconButton.storyName = 'Icon Button with Tooltip';
IconButton.args = {
icon: <HelpIcon width="20" height="20" />,
'aria-label': 'Help',
className: 'googlesitekit-button--icon',
};

export const VRTStory = () => (
<div>
<p>
<DefaultButton { ...DefaultButton.args } />
</p>
<p>
<HoverButton { ...HoverButton.args } />
</p>
<p>
<LinkButton { ...LinkButton.args } />
</p>
Expand All @@ -83,11 +81,14 @@ export const VRTStory = () => (
<p>
<DisabledButton { ...DisabledButton.args } />
</p>
<p>
<IconButton { ...IconButton.args } />
</p>
</div>
);
VRTStory.scenario = {
label: 'Global/Buttons',
hoverSelector: '.googlesitekit-button--hover',
hoverSelector: '.googlesitekit-button--icon',
postInteractionWait: 3000,
onReadyScript: 'mouse.js',
};
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6f6044d

Please sign in to comment.