Add new space settings (#2293)
This commit is contained in:
parent
4aed4d7472
commit
5c39a36c12
44 changed files with 691 additions and 63 deletions
17
src/app/state/spaceSettings.ts
Normal file
17
src/app/state/spaceSettings.ts
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import { atom } from 'jotai';
|
||||
|
||||
export enum SpaceSettingsPage {
|
||||
GeneralPage,
|
||||
MembersPage,
|
||||
PermissionsPage,
|
||||
EmojisStickersPage,
|
||||
DeveloperToolsPage,
|
||||
}
|
||||
|
||||
export type SpaceSettingsState = {
|
||||
page?: SpaceSettingsPage;
|
||||
roomId: string;
|
||||
spaceId?: string;
|
||||
};
|
||||
|
||||
export const spaceSettingsAtom = atom<SpaceSettingsState | undefined>(undefined);
|
||||
Loading…
Add table
Add a link
Reference in a new issue