import styled from '@emotion/styled'; import Button from 'sentry/components/button'; import {Panel, PanelHeader} from 'sentry/components/panels'; import {IconTelescope, IconUser} from 'sentry/icons'; import space from 'sentry/styles/space'; import EmptyMessage from 'sentry/views/settings/components/emptyMessage'; export default { title: 'Views/Empty States/Empty Messages', component: EmptyMessage, }; export const Default = () => (
Nothing to see here
); Default.storyName = 'Default'; Default.parameters = { docs: { description: { story: 'Super Generic', }, }, }; export const InPanel = () => ( Audit Log No critical actions taken in this period ); InPanel.storyName = 'In Panel'; export const InPanelWithIcon = () => ( Members } size="large"> Sentry is better with friends ); InPanelWithIcon.storyName = 'In Panel - With Icon'; InPanel.parameters = { docs: { description: { story: 'Put this in a panel for maximum effect', }, }, }; export const InPanelWithIconAndAction = () => ( Members } action={} > Sentry is better with friends ); InPanelWithIconAndAction.storyName = 'In Panel - With Icon and Action'; export const InPanelWithTitleAndDescription = () => ( Members ); InPanelWithTitleAndDescription.storyName = 'In Panel - With Title and Description'; export const InPanelWithEverything = () => ( Members } title="Sentry is better with friends!" description="When you use sentry with friends, you'll find your world of possibilities expands!" action={
} />
); InPanelWithEverything.storyName = 'In Panel - With Everything'; export const InOnboardingMissingFunctionalityPanel = () => ( } title="You're missing out on crucial functionality!" description="Enable this feature now to get the most out of Sentry. What are you waiting for? Do it!" action={
} />
); InOnboardingMissingFunctionalityPanel.storyName = 'In Onboarding/Missing Functionality Panel'; const Wrapper = styled('div')` display: flex; justify-content: center; `; const ButtonWrapper = styled('div')` margin-right: ${space(1)}; `;