* 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
23 lines
665 B
TypeScript
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,
|
|
};
|