feat: rework bookmarks widget (#6666)
This commit is contained in:
1 parent
19760e5722
commit
e97fe7861d
17 files changed
+1091
-713
No files matched your search
@@ -34,12 +34,15 @@ export interface SortableItemListInput<TItem, TOptionValue extends UniqueIdentif
|
||||
> {
|
||||
AddButton: (props: {
|
||||
addItem: (item: TItem) => void;
|
||||
migrateItems: (items: TItem[], optionsPatch: Record<string, unknown>) => void;
|
||||
removeItem: (value: TOptionValue) => void;
|
||||
values: TOptionValue[];
|
||||
initialOptions: Record<string, unknown>;
|
||||
}) => React.ReactNode;
|
||||
ItemComponent: (props: {
|
||||
item: TItem;
|
||||
removeItem: () => void;
|
||||
removeLabel: string;
|
||||
rootAttributes: DraggableAttributes;
|
||||
handle: React.ReactNode;
|
||||
}) => React.ReactNode;
|
||||
|
||||
Reference in new issue
Block a user