mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
28 lines
527 B
TypeScript
28 lines
527 B
TypeScript
|
import LayoutWithPlaceholders from '@/features/ide-react/components/layout/layout-with-placeholders'
|
||
|
|
||
|
export default {
|
||
|
title: 'Editor / Page Layout',
|
||
|
component: LayoutWithPlaceholders,
|
||
|
decorators: [
|
||
|
(Story: any) => (
|
||
|
<div
|
||
|
style={{ position: 'absolute', inset: '1em', border: 'solid #ccc 1px' }}
|
||
|
>
|
||
|
<Story />
|
||
|
</div>
|
||
|
),
|
||
|
],
|
||
|
}
|
||
|
|
||
|
export const Persisted = {
|
||
|
args: {
|
||
|
shouldPersistLayout: true,
|
||
|
},
|
||
|
}
|
||
|
|
||
|
export const Unpersisted = {
|
||
|
args: {
|
||
|
shouldPersistLayout: false,
|
||
|
},
|
||
|
}
|