# SidebarMainProps (@salmonui/navigation/sidebar-layout)

> The SidebarMainProps interface of @salmonui/navigation/sidebar-layout.

Canonical: https://salmonui.dev/docs/reference/navigation/sidebar-layout/SidebarMainProps

```ts
import type { SidebarMainProps } from '@salmonui/navigation/sidebar-layout';
```

Entry index: https://salmonui.dev/docs/reference/navigation/sidebar-layout (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/sidebar-layout.md).

## Reference

Kind: interface

```ts
interface SidebarMainProps extends HTMLAttributes<HTMLDivElement> {
    children?: ReactNode;
    ref?: Ref<HTMLDivElement> | undefined;
    render?: ((props: SidebarRenderProps) => ReactElement) | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `children` | `children?: ReactNode;` | optional |  |
| `ref` | `ref?: Ref<HTMLDivElement> \| undefined;` | optional |  |
| `render` | `render?: ((props: SidebarRenderProps) => ReactElement) \| undefined;` | optional | Renders another element (`<main>`) with the computed props. |
