@layers-app/shared 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +36 -367
- package/dist/index.js +50025 -201
- package/dist/index.umd.cjs +818 -0
- package/dist/package.json +12 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,120 +1,21 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
import { AvatarProps } from '@mantine/core';
|
|
4
|
-
import { BoxProps } from '@mantine/core';
|
|
5
1
|
import { ButtonProps } from '@mantine/core';
|
|
6
|
-
import { default as default_2 } from '
|
|
2
|
+
import { default as default_2 } from 'prop-types';
|
|
3
|
+
import { default as default_3 } from 'react';
|
|
7
4
|
import { DropzoneProps } from '@mantine/dropzone';
|
|
8
|
-
import { FetchBaseQueryError } from '@reduxjs/toolkit/query';
|
|
9
5
|
import { FileWithPath } from '@mantine/dropzone';
|
|
10
6
|
import { FloatingPosition } from '@mantine/core';
|
|
11
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
12
|
-
import { FunctionComponent } from 'react';
|
|
13
7
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
14
|
-
import { MemoExoticComponent } from 'react';
|
|
15
|
-
import { NotificationData } from '@mantine/notifications';
|
|
16
|
-
import { OpenConfirmModal } from '@mantine/modals/lib/context';
|
|
17
|
-
import { PersistOptions } from 'zustand/middleware';
|
|
18
8
|
import { PolymorphicComponentProps } from '@mantine/core';
|
|
19
9
|
import { PopoverProps } from '@mantine/core';
|
|
20
10
|
import { PropsWithChildren } from 'react';
|
|
21
11
|
import { ReactNode } from 'react';
|
|
22
|
-
import { RefAttributes } from 'react';
|
|
23
12
|
import { StackProps } from '@mantine/core';
|
|
24
|
-
import { StoreApi } from 'zustand';
|
|
25
|
-
import { SVGProps } from 'react';
|
|
26
13
|
import { TextProps } from '@mantine/core';
|
|
27
14
|
import { TitleProps } from '@mantine/core';
|
|
28
|
-
import { TouchEventHandler } from 'react';
|
|
29
|
-
import { UseBoundStore } from 'zustand';
|
|
30
|
-
|
|
31
|
-
export declare const AlertsBlock: (props: AlertType) => JSX_2.Element;
|
|
32
|
-
|
|
33
|
-
export declare type AlertType = {
|
|
34
|
-
trigger: any;
|
|
35
|
-
message: string | React.ReactNode;
|
|
36
|
-
type?: 'error' | 'success' | 'info';
|
|
37
|
-
onClose?: () => void;
|
|
38
|
-
autoClose?: boolean;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export declare const AppContainer: (({ header, content, navbar, navbarTitle, }: AppContainerProps) => JSX_2.Element) & {
|
|
42
|
-
NavbarContent: ({ children }: {
|
|
43
|
-
children?: ReactNode;
|
|
44
|
-
}) => JSX_2.Element;
|
|
45
|
-
NavbarFooter: ({ children }: {
|
|
46
|
-
children?: ReactNode;
|
|
47
|
-
}) => JSX_2.Element;
|
|
48
|
-
NavbarHeader: ({ children }: {
|
|
49
|
-
children?: ReactNode;
|
|
50
|
-
}) => JSX_2.Element;
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export declare type AppContainerActionsStore = {
|
|
54
|
-
readNotificationsFunc: (data: ReadNotificationsRequest) => void;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export declare type AppContainerDataStore = {
|
|
58
|
-
tools: ToolDef[];
|
|
59
|
-
workspaceMenu: WorkspaceMenuProps;
|
|
60
|
-
user: MenuUser;
|
|
61
|
-
userMenuItems?: ReactNode;
|
|
62
|
-
notifications: UserNotifications[];
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export declare type AppContainerProps = {
|
|
66
|
-
content?: ReactNode;
|
|
67
|
-
navbar?: ReactNode;
|
|
68
|
-
header?: ReactNode;
|
|
69
|
-
navbarTitle?: string;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export declare type AppContainerStore = {
|
|
73
|
-
navbarWidth: number;
|
|
74
|
-
onNavbarWidthChange: (width: number) => void;
|
|
75
|
-
opened: boolean;
|
|
76
|
-
toggle: () => void;
|
|
77
|
-
close: () => void;
|
|
78
|
-
open: () => void;
|
|
79
|
-
theme: string;
|
|
80
|
-
hiddenTools: string[];
|
|
81
|
-
toggleToolVisibility: (id: string) => void;
|
|
82
|
-
withoutNavbar: boolean;
|
|
83
|
-
withoutHeader: boolean;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
export declare const appFeature: (value: string) => void;
|
|
87
|
-
|
|
88
|
-
export declare enum AuthErrors {
|
|
89
|
-
g_access_denied = "GOAuthFailed",
|
|
90
|
-
f_access_denied = "FOAuthFailed"
|
|
91
|
-
}
|
|
92
15
|
|
|
93
16
|
declare const baseTabsList: readonly ["gallery", "upload", "link", "unsplash", "giphy"];
|
|
94
17
|
|
|
95
|
-
export declare const
|
|
96
|
-
|
|
97
|
-
export declare const closeSearchModal: () => void;
|
|
98
|
-
|
|
99
|
-
export declare const CustomKBD: ({ value, miw, w, mr, fz, fontFamily, fw, bbw, br, onClick, ...props }: CustomKBDProps & BoxProps) => JSX_2.Element;
|
|
100
|
-
|
|
101
|
-
declare interface CustomKBDProps {
|
|
102
|
-
value: string | ReactNode;
|
|
103
|
-
miw?: number;
|
|
104
|
-
w?: number;
|
|
105
|
-
mr?: number;
|
|
106
|
-
fz?: number;
|
|
107
|
-
h?: number;
|
|
108
|
-
color?: string;
|
|
109
|
-
onClick?: () => void;
|
|
110
|
-
fontFamily?: string;
|
|
111
|
-
fw?: number;
|
|
112
|
-
c?: string;
|
|
113
|
-
br?: number;
|
|
114
|
-
bbw?: number;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
export declare const EmojiPicker: ({ value, children, onChange, onRemove, hasIcon, position, popoverProps, locales, }: PropsWithChildren<EmojiPickerProps>) => JSX_2.Element;
|
|
18
|
+
export declare const EmojiPicker: ({ value, children, onChange, onRemove, hasIcon, position, popoverProps, locales }: PropsWithChildren<EmojiPickerProps>) => JSX_2.Element;
|
|
118
19
|
|
|
119
20
|
export declare type EmojiPickerLocales = {
|
|
120
21
|
emojis?: string;
|
|
@@ -135,110 +36,23 @@ export declare type EmojiPickerProps = {
|
|
|
135
36
|
locales?: EmojiPickerLocales;
|
|
136
37
|
};
|
|
137
38
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}>;
|
|
153
|
-
noAccess: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
154
|
-
title?: string;
|
|
155
|
-
titleId?: string;
|
|
156
|
-
desc?: string;
|
|
157
|
-
descId?: string;
|
|
158
|
-
}>;
|
|
159
|
-
trash: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
160
|
-
title?: string;
|
|
161
|
-
titleId?: string;
|
|
162
|
-
desc?: string;
|
|
163
|
-
descId?: string;
|
|
164
|
-
}>;
|
|
165
|
-
noImage: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
166
|
-
title?: string;
|
|
167
|
-
titleId?: string;
|
|
168
|
-
desc?: string;
|
|
169
|
-
descId?: string;
|
|
170
|
-
}>;
|
|
171
|
-
noResults: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
172
|
-
title?: string;
|
|
173
|
-
titleId?: string;
|
|
174
|
-
desc?: string;
|
|
175
|
-
descId?: string;
|
|
176
|
-
}>;
|
|
177
|
-
noTasks: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
178
|
-
title?: string;
|
|
179
|
-
titleId?: string;
|
|
180
|
-
desc?: string;
|
|
181
|
-
descId?: string;
|
|
182
|
-
}>;
|
|
183
|
-
noComments: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
184
|
-
title?: string;
|
|
185
|
-
titleId?: string;
|
|
186
|
-
desc?: string;
|
|
187
|
-
descId?: string;
|
|
188
|
-
}>;
|
|
189
|
-
noData: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
190
|
-
title?: string;
|
|
191
|
-
titleId?: string;
|
|
192
|
-
desc?: string;
|
|
193
|
-
descId?: string;
|
|
194
|
-
}>;
|
|
195
|
-
addDataR7: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
196
|
-
title?: string;
|
|
197
|
-
titleId?: string;
|
|
198
|
-
desc?: string;
|
|
199
|
-
descId?: string;
|
|
200
|
-
}>;
|
|
201
|
-
addDataLayers: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
202
|
-
title?: string;
|
|
203
|
-
titleId?: string;
|
|
204
|
-
desc?: string;
|
|
205
|
-
descId?: string;
|
|
206
|
-
}>;
|
|
207
|
-
emptyFolder: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
208
|
-
title?: string;
|
|
209
|
-
titleId?: string;
|
|
210
|
-
desc?: string;
|
|
211
|
-
descId?: string;
|
|
212
|
-
}>;
|
|
213
|
-
emptyBoard: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
214
|
-
title?: string;
|
|
215
|
-
titleId?: string;
|
|
216
|
-
desc?: string;
|
|
217
|
-
descId?: string;
|
|
218
|
-
}>;
|
|
219
|
-
noTaskResults: FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
220
|
-
title?: string;
|
|
221
|
-
titleId?: string;
|
|
222
|
-
desc?: string;
|
|
223
|
-
descId?: string;
|
|
224
|
-
}>;
|
|
225
|
-
'404': FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
226
|
-
title?: string;
|
|
227
|
-
titleId?: string;
|
|
228
|
-
desc?: string;
|
|
229
|
-
descId?: string;
|
|
230
|
-
}>;
|
|
231
|
-
'500': FunctionComponent<SVGProps<SVGSVGElement> & {
|
|
232
|
-
title?: string;
|
|
233
|
-
titleId?: string;
|
|
234
|
-
desc?: string;
|
|
235
|
-
descId?: string;
|
|
236
|
-
}>;
|
|
39
|
+
declare const illustrationMap: {
|
|
40
|
+
empty: any;
|
|
41
|
+
noAccess: any;
|
|
42
|
+
trash: any;
|
|
43
|
+
noImage: any;
|
|
44
|
+
noResults: any;
|
|
45
|
+
noTasks: any;
|
|
46
|
+
noComments: any;
|
|
47
|
+
noData: any;
|
|
48
|
+
addData: any;
|
|
49
|
+
emptyFolder: any;
|
|
50
|
+
noTaskResults: any;
|
|
51
|
+
'404': any;
|
|
52
|
+
'500': any;
|
|
237
53
|
};
|
|
238
54
|
|
|
239
|
-
declare type IllustrationType = keyof typeof illustrationMap
|
|
240
|
-
|
|
241
|
-
export declare const ImagePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken, unsplashClientId, galleryCollection, popoverProps, dropZoneProps, locales, }: PropsWithChildren<ImagePickerProps>) => JSX_2.Element;
|
|
55
|
+
declare type IllustrationType = keyof typeof illustrationMap;
|
|
242
56
|
|
|
243
57
|
declare type ImagePickerGalleryCollection = {
|
|
244
58
|
title: string;
|
|
@@ -271,7 +85,7 @@ declare type ImagePickerLocales = {
|
|
|
271
85
|
};
|
|
272
86
|
};
|
|
273
87
|
|
|
274
|
-
|
|
88
|
+
declare type ImagePickerProps = {
|
|
275
89
|
onChange?: (v: string) => void;
|
|
276
90
|
onRemove?: () => void;
|
|
277
91
|
onUpload?: (files: FileWithPath[], setOpened: (state: boolean) => void) => void;
|
|
@@ -287,16 +101,30 @@ export declare type ImagePickerProps = PropsWithChildren<{
|
|
|
287
101
|
popoverProps?: PopoverProps;
|
|
288
102
|
dropZoneProps?: Omit<DropzoneProps, 'onDrop'>;
|
|
289
103
|
locales?: ImagePickerLocales;
|
|
290
|
-
}
|
|
104
|
+
};
|
|
291
105
|
|
|
292
|
-
export declare const
|
|
106
|
+
export declare const ImagePickerProvider: default_3.FC<PropsWithChildren<ImagePickerProviderProps>>;
|
|
107
|
+
|
|
108
|
+
export declare type ImagePickerProviderProps = ImagePickerProps & {
|
|
109
|
+
disableReactQueryContext?: boolean;
|
|
110
|
+
};
|
|
293
111
|
|
|
294
112
|
declare type Language = {
|
|
295
113
|
value: string;
|
|
296
114
|
label: string;
|
|
297
115
|
};
|
|
298
116
|
|
|
299
|
-
export declare const LanguagePicker:
|
|
117
|
+
export declare const LanguagePicker: {
|
|
118
|
+
({ data, value, onChange, }: LanguagePickerProps): JSX_2.Element;
|
|
119
|
+
propTypes: {
|
|
120
|
+
data: default_2.Validator<(default_2.InferProps<{
|
|
121
|
+
value: default_2.Validator<string>;
|
|
122
|
+
label: default_2.Validator<string>;
|
|
123
|
+
}> | null | undefined)[]>;
|
|
124
|
+
value: default_2.Validator<string>;
|
|
125
|
+
onChange: default_2.Validator<(...args: any[]) => any>;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
300
128
|
|
|
301
129
|
declare interface LanguagePickerProps {
|
|
302
130
|
data: Language[];
|
|
@@ -304,35 +132,6 @@ declare interface LanguagePickerProps {
|
|
|
304
132
|
onChange: (value: string) => void;
|
|
305
133
|
}
|
|
306
134
|
|
|
307
|
-
export declare type MenuUser = {
|
|
308
|
-
id: string;
|
|
309
|
-
avatar: string | null;
|
|
310
|
-
email: string | null;
|
|
311
|
-
name: string;
|
|
312
|
-
};
|
|
313
|
-
|
|
314
|
-
export declare const MenuUserDropdown: ({ position, children, user, menuItems, }: MenuUserDropdownProps) => JSX_2.Element;
|
|
315
|
-
|
|
316
|
-
export declare type MenuUserDropdownProps = PropsWithChildren<{
|
|
317
|
-
position?: FloatingPosition;
|
|
318
|
-
menuItems?: ReactNode;
|
|
319
|
-
user: MenuUser;
|
|
320
|
-
}>;
|
|
321
|
-
|
|
322
|
-
export declare type MenuWorkspace = {
|
|
323
|
-
workspaceId: string;
|
|
324
|
-
workspaceName: string;
|
|
325
|
-
workspaceIcon: string;
|
|
326
|
-
};
|
|
327
|
-
|
|
328
|
-
declare type MessageType = string | number | NotificationData;
|
|
329
|
-
|
|
330
|
-
export declare const NavbarResizer: MemoExoticComponent<({ width, onChange, showResizer, }: {
|
|
331
|
-
width?: number;
|
|
332
|
-
onChange?: (v: number) => void;
|
|
333
|
-
showResizer?: boolean;
|
|
334
|
-
}) => JSX_2.Element>;
|
|
335
|
-
|
|
336
135
|
export declare const NoData: React.FC<NoDataProps & StackProps>;
|
|
337
136
|
|
|
338
137
|
declare interface NoDataProps {
|
|
@@ -345,136 +144,6 @@ declare interface NoDataProps {
|
|
|
345
144
|
size?: number;
|
|
346
145
|
}
|
|
347
146
|
|
|
348
|
-
export declare const openSearchModal: () => void;
|
|
349
|
-
|
|
350
|
-
export declare const openSubmitModal: (props: OpenConfirmModal & {
|
|
351
|
-
children?: React.ReactNode;
|
|
352
|
-
}) => void;
|
|
353
|
-
|
|
354
|
-
export declare type ProfilePictureType = {
|
|
355
|
-
url: string;
|
|
356
|
-
};
|
|
357
|
-
|
|
358
|
-
declare type Props = {
|
|
359
|
-
error: FetchBaseQueryError | SerializedError | undefined;
|
|
360
|
-
closeAction?: () => void;
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
declare type ReadNotificationsRequest = {
|
|
364
|
-
messageIds: number[];
|
|
365
|
-
markAll: boolean;
|
|
366
|
-
action: 1;
|
|
367
|
-
};
|
|
368
|
-
|
|
369
|
-
declare interface SearchModalState {
|
|
370
|
-
opened: boolean;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
declare interface SerializedError {
|
|
374
|
-
name?: string;
|
|
375
|
-
message?: string;
|
|
376
|
-
stack?: string;
|
|
377
|
-
code?: string;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
export declare const setWithoutNavbar: (v: boolean) => void;
|
|
381
|
-
|
|
382
|
-
export declare const showErrorNotification: (props: NotificationData) => void;
|
|
383
|
-
|
|
384
|
-
export declare const showRequestNotifications: <Response, Request extends Promise<Response> = Promise<Response>>(request: Request, options?: {
|
|
385
|
-
notifyId?: string;
|
|
386
|
-
successMsg?: ((res: Response) => MessageType) | MessageType;
|
|
387
|
-
errorMsg?: ((err: any) => MessageType) | MessageType;
|
|
388
|
-
}) => Promise<any>;
|
|
389
|
-
|
|
390
|
-
export declare const showSuccessNotification: (props: NotificationData) => void;
|
|
391
|
-
|
|
392
147
|
declare type TabType = (typeof baseTabsList)[number];
|
|
393
148
|
|
|
394
|
-
export declare const toggleAppMenu: () => void;
|
|
395
|
-
|
|
396
|
-
export declare type ToolDef = {
|
|
397
|
-
id: string;
|
|
398
|
-
name: string;
|
|
399
|
-
icon: ReactNode;
|
|
400
|
-
path: string;
|
|
401
|
-
onClick?: () => void;
|
|
402
|
-
};
|
|
403
|
-
|
|
404
|
-
export declare const useAppContainer: ({ user, workspaceMenu, tools, userMenuItems, notifications, readNotificationsFunc, }: AppContainerDataStore & AppContainerActionsStore) => void;
|
|
405
|
-
|
|
406
|
-
export declare const useAppContainerStore: UseBoundStore<Omit<StoreApi<AppContainerStore>, "persist"> & {
|
|
407
|
-
persist: {
|
|
408
|
-
setOptions: (options: Partial<PersistOptions<AppContainerStore, AppContainerStore>>) => void;
|
|
409
|
-
clearStorage: () => void;
|
|
410
|
-
rehydrate: () => void | Promise<void>;
|
|
411
|
-
hasHydrated: () => boolean;
|
|
412
|
-
onHydrate: (fn: (state: AppContainerStore) => void) => () => void;
|
|
413
|
-
onFinishHydration: (fn: (state: AppContainerStore) => void) => () => void;
|
|
414
|
-
getOptions: () => Partial<PersistOptions<AppContainerStore, AppContainerStore>>;
|
|
415
|
-
};
|
|
416
|
-
}>;
|
|
417
|
-
|
|
418
|
-
export declare const useDateFnsLocale: () => void;
|
|
419
|
-
|
|
420
|
-
export declare const useFormatDistance: () => (timestamp: string) => string;
|
|
421
|
-
|
|
422
|
-
export declare const useHideHeader: () => void;
|
|
423
|
-
|
|
424
|
-
export declare const useIsDarkTheme: () => boolean;
|
|
425
|
-
|
|
426
|
-
export declare const useMenu: () => {
|
|
427
|
-
isMobile: boolean;
|
|
428
|
-
opened: boolean;
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
export declare const useOAuthErrorParams: () => void;
|
|
432
|
-
|
|
433
|
-
export declare const UserAvatar: ForwardRefExoticComponent<Omit<UserAvatarProps, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
434
|
-
|
|
435
|
-
declare interface UserAvatarProps extends AvatarProps, Omit<default_2.ComponentPropsWithoutRef<'div'>, keyof AvatarProps> {
|
|
436
|
-
user?: MenuUser | null;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
declare interface UserAvatarProps_2 extends AvatarProps, Omit<default_2.ComponentPropsWithoutRef<'div'>, keyof AvatarProps> {
|
|
440
|
-
workspace?: MenuWorkspace | null;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
export declare type UserNotifications = {
|
|
444
|
-
createdAt: string;
|
|
445
|
-
read: boolean;
|
|
446
|
-
link: string;
|
|
447
|
-
description: string;
|
|
448
|
-
id: number;
|
|
449
|
-
type: number;
|
|
450
|
-
projectName: string;
|
|
451
|
-
pageIcon: string;
|
|
452
|
-
pageName: string;
|
|
453
|
-
projectIcon: number;
|
|
454
|
-
taskName?: string;
|
|
455
|
-
pageId?: number;
|
|
456
|
-
taskId?: number;
|
|
457
|
-
};
|
|
458
|
-
|
|
459
|
-
export declare const useSearchModalStore: UseBoundStore<StoreApi<SearchModalState>>;
|
|
460
|
-
|
|
461
|
-
export declare const useSwipeDetect: (callback: (side: 'left' | 'right') => void) => {
|
|
462
|
-
onTouchStart: TouchEventHandler<HTMLDivElement>;
|
|
463
|
-
onTouchMove: TouchEventHandler<HTMLDivElement>;
|
|
464
|
-
onTouchEnd: TouchEventHandler<HTMLDivElement>;
|
|
465
|
-
};
|
|
466
|
-
|
|
467
|
-
export declare const WorkspaceAvatar: ForwardRefExoticComponent<Omit<UserAvatarProps_2, "ref"> & RefAttributes<HTMLDivElement>>;
|
|
468
|
-
|
|
469
|
-
export declare const WorkspaceMenu: <W extends MenuWorkspace>({ children, onCreate, onClick, active, items, settingsLink, membersLink, }: WorkspaceMenuProps<W>) => JSX_2.Element;
|
|
470
|
-
|
|
471
|
-
export declare type WorkspaceMenuProps<W extends MenuWorkspace = MenuWorkspace> = PropsWithChildren<{
|
|
472
|
-
onCreate?: () => void;
|
|
473
|
-
onClick?: (w: W) => void;
|
|
474
|
-
items: W[];
|
|
475
|
-
active?: W | null;
|
|
476
|
-
settingsLink?: string;
|
|
477
|
-
membersLink?: string;
|
|
478
|
-
}>;
|
|
479
|
-
|
|
480
149
|
export { }
|