{this.props.t('errors.loadingFailed')}
17 | } 18 | 19 | return this.props.children 20 | } 21 | } 22 | 23 | export default withTranslation()(ErrorBoundary) 24 | -------------------------------------------------------------------------------- /packages/titus-frontend/src/components/loading/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react' 2 | 3 | const Loading = () => 4 | 5 | export default Loading 6 | -------------------------------------------------------------------------------- /packages/titus-frontend/src/components/loading/loading.mdx: -------------------------------------------------------------------------------- 1 | import { Story } from '@storybook/addon-docs/blocks' 2 | import { StyledPreview as Preview } from '.storybook/decorator-components' 3 | 4 | ## Loader 5 | 6 | Loader component for project. 7 | 8 |