Skip to content

Commit

Permalink
Official-storybook: Test for interleaved exports
Browse files Browse the repository at this point in the history
  • Loading branch information
shilman committed Jan 16, 2020
1 parent bea119a commit 2fac0f2
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* eslint-disable import/first,import/no-duplicates */
import React from 'react';
import { action } from '@storybook/addon-actions';

export default {
title: 'Core/Interleaved exports',
parameters: { chromatic: { disable: true } },
};

import { Welcome } from '@storybook/react/demo';

export const First = () => <Welcome showApp={action('show')} />;

import { Button } from '@storybook/react/demo';

export const Second = () => <Button onClick={action('click')}>Second</Button>;

0 comments on commit 2fac0f2

Please sign in to comment.