From 267b960ca550fccfb8089e6db3f7b041b72c40f2 Mon Sep 17 00:00:00 2001 From: atanasster Date: Sun, 9 Aug 2020 22:41:58 +0300 Subject: [PATCH] fix: update stories --- ui/components/package.json | 1 + ui/components/src/PanelContainer/PanelContainer.stories.tsx | 6 +++--- ui/components/src/Zoom/Zoom.stories.tsx | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ui/components/package.json b/ui/components/package.json index 6b6bbdbfd..b11690f80 100644 --- a/ui/components/package.json +++ b/ui/components/package.json @@ -7,6 +7,7 @@ "typings": "dist/index.d.ts", "files": [ "dist/", + "src/", "package.json", "README.md" ], diff --git a/ui/components/src/PanelContainer/PanelContainer.stories.tsx b/ui/components/src/PanelContainer/PanelContainer.stories.tsx index 20c77f2cf..46e6b491b 100644 --- a/ui/components/src/PanelContainer/PanelContainer.stories.tsx +++ b/ui/components/src/PanelContainer/PanelContainer.stories.tsx @@ -8,7 +8,7 @@ export default { }; const actions = [ { - title: 'panel-1', + node: 'panel-1', id: 'panel-1', 'aria-label': 'display panel 1', panel: ( @@ -19,7 +19,7 @@ const actions = [ ), }, { - title: 'panel-2', + node: 'panel-2', id: 'panel-2', 'aria-label': 'display panel 2', panel: ( @@ -31,7 +31,7 @@ const actions = [ ), }, { - title: 'action', + node: 'action', 'aria-label': 'some action without panel', }, ]; diff --git a/ui/components/src/Zoom/Zoom.stories.tsx b/ui/components/src/Zoom/Zoom.stories.tsx index 5a71a9cb9..24e1ce69b 100644 --- a/ui/components/src/Zoom/Zoom.stories.tsx +++ b/ui/components/src/Zoom/Zoom.stories.tsx @@ -14,15 +14,15 @@ export const overview = () => { setScale(1), }, { - title: 'zoom out', + node: 'zoom out', onClick: () => setScale(scale / 2), }, { - title: 'zoom in', + node: 'zoom in', onClick: () => setScale(scale * 2), }, ]}