appShellOptionsFromTheme
The `AppShell` options an app theme starts from (`theme.layout`: navigation, frame, density, rail width, a collapsed rail, sub-navigation), to spread under the app's own: ```tsx <AppShell options={{ ...appShellOptionsFromTheme(theme), scrollRoot: "window" }} … /> ``` Nothing for no theme, or one that leaves the layout alone, so the app's options and their defaults stand. These are defaults: where the shell is `configurable`, the person's own choice still wins.
packages/ui/src/themes/layout.ts
@marktiderman/genesis-uiimport { appShellOptionsFromTheme } from "@marktiderman/genesis-ui";react-docgen-typescript.appShellOptionsFromTheme
The `AppShell` options an app theme starts from (`theme.layout`: navigation, frame, density, rail width, a collapsed rail, sub-navigation), to spread under the app's own: ```tsx <AppShell options={{ ...appShellOptionsFromTheme(theme), scrollRoot: "window" }} … /> ``` Nothing for no theme, or one that leaves the layout alone, so the app's options and their defaults stand. These are defaults: where the shell is `configurable`, the person's own choice still wins.
| Prop | Type | Default | Description |
|---|---|---|---|
| layout | AppThemeLayout | — |