import styled from '@emotion/styled'; import React from 'react'; import {Panel, PanelHeader} from 'app/components/panels'; import {storiesOf} from '@storybook/react'; import {withInfo} from '@storybook/addon-info'; import Button from 'app/components/button'; import EmptyMessage from 'app/views/settings/components/emptyMessage'; import space from 'app/styles/space'; storiesOf('UI|EmptyMessage', module) .add( 'default', withInfo('Super Generic')(() => (
Nothing to see here
)) ) .add( 'in panel', withInfo('Put this in a panel for maximum effect')(() => ( Audit Log No critical actions taken in this period )) ) .add( 'in panel with icon', withInfo('Put this in a panel for maximum effect')(() => ( Members Sentry is better with friends )) ) .add( 'in panel with icon and action', withInfo('Put this in a panel for maximum effect')(() => ( Members Invite Members} > Sentry is better with friends )) ) .add( 'in panel with title and description', withInfo('Put this in a panel for maximum effect')(() => ( Members )) ) .add( 'in panel with everything', withInfo('Put this in a panel for maximum effect')(() => ( Members
} />
)) ) .add( 'in onboarding/missing functionality panel', withInfo('Put this in a panel for maximum effect')(() => (
} />
)) ); const Wrapper = styled('div')` display: flex; justify-content: center; `; const ButtonWrapper = styled('div')` margin-right: ${space(1)}; `;