# PaneShell

PaneShell renders the PaneShell.component.d.ts part of the paneshell composition.

## Public import

```svelte
<script lang="ts">
  import { PaneShell } from "rom-ui/paneshell";
  import "rom-ui/styles";
</script>
```

## Composition and responsibility

The host supplies data, callbacks and application policy. The component does not provide persistence or authorization.

Public names: `PaneShell`.

## Declared props

This declaration comes from the installed package. Imported types retain their upstream meaning.

```ts
type $$ComponentProps = {
    documents: readonly PaneDocument[];
    authority: unknown;
    editor: Snippet<[
        PaneDocument
    ]>;
    navigation?: Snippet<[
        close: () => void
    ]>;
    inspector?: Snippet;
    inspectorOpen?: boolean;
    onclose?: (document: PaneDocument) => boolean | Promise<boolean>;
    onerror?: (error: unknown) => void;
    onlayout?: (state: WorkspaceState) => void;
    activities?: Snippet;
    status?: Snippet;
    toolbar?: Snippet;
    statusActions?: Snippet;
};
```

## Source and version

ROM UI **0.1.0-alpha.9**, published ROM 0.1.5 integration. Archive SHA-256: `d10cd9f1596fe958fea2203b1242473d97e1f5febee68d8bf285ecf07a1d053a`. Source: `src/lib/paneshell/PaneShell.svelte`.

See [the composition guide](/docs/studio-compositions/) for host integration boundaries.
