Skip to content

Commit

Permalink
fix: update stories
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Aug 9, 2020
1 parent 6d6e04f commit 267b960
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions ui/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"typings": "dist/index.d.ts",
"files": [
"dist/",
"src/",
"package.json",
"README.md"
],
Expand Down
6 changes: 3 additions & 3 deletions ui/components/src/PanelContainer/PanelContainer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
};
const actions = [
{
title: 'panel-1',
node: 'panel-1',
id: 'panel-1',
'aria-label': 'display panel 1',
panel: (
Expand All @@ -19,7 +19,7 @@ const actions = [
),
},
{
title: 'panel-2',
node: 'panel-2',
id: 'panel-2',
'aria-label': 'display panel 2',
panel: (
Expand All @@ -31,7 +31,7 @@ const actions = [
),
},
{
title: 'action',
node: 'action',
'aria-label': 'some action without panel',
},
];
Expand Down
6 changes: 3 additions & 3 deletions ui/components/src/Zoom/Zoom.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ export const overview = () => {
<ActionContainer
actions={[
{
title: 'reset',
node: 'reset',
onClick: () => setScale(1),
},
{
title: 'zoom out',
node: 'zoom out',
onClick: () => setScale(scale / 2),
},
{
title: 'zoom in',
node: 'zoom in',
onClick: () => setScale(scale * 2),
},
]}
Expand Down

0 comments on commit 267b960

Please sign in to comment.