OptionalautoWhen true, the host fires onCreate automatically the first time
it would otherwise render the empty state — and routes the result
through onFileOpen so the editor mounts immediately on a fresh
file. Lets a tab open straight into the editor instead of asking
the user to click "New" or pick from the file list. Fires at most
once per FileSessionHost mount; subsequent file-closes return
the user to the regular empty state with the FileManager. Has no
effect when onCreate is not provided. Defaults to false.
OptionalfileAdditional props forwarded to the inner <FileManager> so the
editor-tab empty states match the look of the main Files tab
(consumer-specific row extras, field formatters, thumbnail
generators, theme colours, etc.). Locked defaults
(filterFileTypes, onFileOpen, enableDragDrop) take precedence.
Resource type used to filter the file list.
Icon shown in the empty state header.
OptionallabelsOverride labels for i18n.
OptionalonCalled when the user clicks "Create". Omit to hide the button.
If the callback returns (or resolves to) a FileEntry, the empty
state opens it via onFileOpen automatically — matching the
create-and-open flow used by Library-style top-level pages.
OptionalroomRoom name to pass through to the embedded FileManager (enables the "this room only" filter toggle). Typically the caller's current room.
OptionalshowWhether the create button should be rendered at all. Defaults to !!onCreate.
OptionalstoragelocalStorage key for persisting the room filter toggle + sort state.
Configuration for the empty state shown when no file is open (inline variant only).