mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 17:03:43 -05:00
d35204033f
[web] Remove split-tests `compile-backend-class*` and `compile-timeout-20s*` (attempt 2) GitOrigin-RevId: 5658f2977d3e7089eec5bbe7a33eee81c153e41d
25 lines
812 B
TypeScript
25 lines
812 B
TypeScript
import { ScopeDecorator } from './decorators/scope'
|
|
import { PdfPreviewMessages } from '@/features/pdf-preview/components/pdf-preview-messages'
|
|
import { CompileTimeWarningUpgradePromptInner } from '@/features/pdf-preview/components/compile-time-warning-upgrade-prompt-inner'
|
|
|
|
export default {
|
|
title: 'Editor / PDF Preview / Messages',
|
|
component: PdfPreviewMessages,
|
|
decorators: [
|
|
ScopeDecorator,
|
|
(Story: any) => (
|
|
<div style={{ width: 800, position: 'relative' }}>
|
|
<PdfPreviewMessages>
|
|
<Story />
|
|
</PdfPreviewMessages>
|
|
</div>
|
|
),
|
|
],
|
|
}
|
|
|
|
export const CompileTimeoutWarningActive = (args: any) => {
|
|
return <CompileTimeWarningUpgradePromptInner {...args} />
|
|
}
|
|
CompileTimeoutWarningActive.argTypes = {
|
|
handleDismissWarning: { action: 'dismiss warning' },
|
|
}
|