Files
ThreadNet-Web/packages/shared-components/src/room-list/RoomListHeaderView/default-snapshot.ts
T
Florian DurosandGitHub d7f5546294 Room list: add custom section creation in SC (#33138)
* feat: add way to create custom section in SC

* feat: disable custom section in vms

* chore: include design tokens icons in vitest config

* test: update screenshot

* chore: use one react import
2026-04-16 13:14:10 +00:00

23 lines
665 B
TypeScript

/*
* Copyright 2026 Element Creations Ltd.
*
* SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
* Please see LICENSE files in the repository root for full details.
*/
import { type RoomListHeaderViewSnapshot } from "./RoomListHeaderView";
export const defaultSnapshot: RoomListHeaderViewSnapshot = {
title: "Rooms",
displayComposeMenu: true,
displaySpaceMenu: true,
canCreateRoom: true,
canCreateVideoRoom: true,
canInviteInSpace: true,
canAccessSpaceSettings: true,
activeSortOption: "recent",
isMessagePreviewEnabled: true,
useComposeIcon: true,
canCreateSection: true,
};