import {action} from '@storybook/addon-actions'; import DetailedError from 'sentry/components/errors/detailedError'; export default { title: 'Views/Detailed Error', component: DetailedError, }; export const Default = () => ( ); Default.storyName = 'Default'; Default.parameters = { docs: { description: { story: 'Displays a detailed error message', }, }, }; export const WithRetry = () => ( ); WithRetry.storyName = 'With Retry'; WithRetry.parameters = { docs: { description: { story: 'If `onRetry` callback is supplied, will show a "Retry" button in footer', }, }, }; export const HidesSupportLinks = () => ( ); HidesSupportLinks.storyName = 'Hides Support Links'; HidesSupportLinks.parameters = { docs: { description: { story: 'Hides support links', }, }, }; export const HidesFooter = () => ( ); HidesFooter.storyName = 'Hides Footer'; HidesFooter.parameters = { docs: { description: { story: 'Hides footer if no support links or retry', }, }, };