Skip to content

Commit

Permalink
Disable prop table tests in chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jan 11, 2020
1 parent b3f0886 commit 8fd9aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -6,6 +6,7 @@ const ForwardedButton = React.forwardRef((props, ref) => <DocgenButton ref={ref}
export default {
title: 'Addons|Docs/ForwardRef',
component: ForwardedButton,
parameters: { chromatic: { disable: true } },
};

export const displaysCorrectly = () => <ForwardedButton>Hello World!</ForwardedButton>;
Expand Down
Expand Up @@ -6,6 +6,7 @@ const ButtonWithMemo = React.memo(props => <DocgenButton {...props} />);
export default {
title: 'Addons|Docs/ButtonWithMemo',
component: ButtonWithMemo,
parameters: { chromatic: { disable: true } },
};

export const displaysCorrectly = () => <ButtonWithMemo>Hello World!</ButtonWithMemo>;
Expand Down

0 comments on commit 8fd9aa0

Please sign in to comment.