From af53994ff9e552c5e5a135cf850fd7527e486fc2 Mon Sep 17 00:00:00 2001 From: winkerVSbecks Date: Wed, 18 Nov 2020 16:37:22 -0500 Subject: [PATCH] Log callback in Clipboard Callback story --- src/components/clipboard/Clipboard.stories.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/clipboard/Clipboard.stories.tsx b/src/components/clipboard/Clipboard.stories.tsx index df14d2fd..edc21a0a 100644 --- a/src/components/clipboard/Clipboard.stories.tsx +++ b/src/components/clipboard/Clipboard.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; - +import { action } from '@storybook/addon-actions'; import { Clipboard } from './Clipboard'; // @ts-ignore import { TooltipNote } from '../tooltip/TooltipNote'; @@ -12,7 +12,7 @@ export default { export const Default = () => Click to copy; export const Callback = () => ( - 'linky from callback'}>Click to copy + Click to copy ); export const Tooltips = () => ( @@ -20,6 +20,8 @@ export const Tooltips = () => ( toCopy="linky" renderCopiedTooltip={() => } renderUncopiedTooltip={() => } + // @ts-ignore + startOpen > Click to copy