mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 04:41:16 +08:00
20 lines
429 B
Plaintext
20 lines
429 B
Plaintext
```html
|
|
<!-- YourPage.svelte -->
|
|
|
|
<script>
|
|
import PageLayout from './PageLayout.svelte';
|
|
import DocumentHeader from './DocumentHeader.svelte';
|
|
import DocumentList from './DocumentList.svelte';
|
|
|
|
export let user = {};
|
|
export let document = {};
|
|
export let subdocuments = [];
|
|
</script>
|
|
|
|
<div>
|
|
<PageLayout {user}>
|
|
<DocumentHeader {document} />
|
|
<DocumentList documents={subdocuments} />
|
|
</PageLayout>
|
|
</div>
|
|
``` |