zs_library 0.7.15 → 0.7.17
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.
|
@@ -45,10 +45,14 @@ export interface DockProps<D, C> {
|
|
|
45
45
|
* dock 项目列表变更事件
|
|
46
46
|
*/
|
|
47
47
|
onDockItemsChange?: (items: SortItem<D, C>[]) => void;
|
|
48
|
+
/**
|
|
49
|
+
* 最近使用项目最大显示数量
|
|
50
|
+
*/
|
|
51
|
+
maxItems?: number;
|
|
48
52
|
/**
|
|
49
53
|
* 图标尺寸
|
|
50
54
|
*/
|
|
51
55
|
itemSize?: number;
|
|
52
56
|
}
|
|
53
|
-
declare const Dock: <D, C>({ items, fixedItems, position, className, itemBuilder, fixedItemBuilder, showLaunchpad, onLaunchpadClick,
|
|
57
|
+
declare const Dock: <D, C>({ items, fixedItems, position, className, onItemClick, itemBuilder, fixedItemBuilder, showLaunchpad, onLaunchpadClick, maxItems, itemSize, }: DockProps<D, C>) => import("react/jsx-runtime").JSX.Element | null;
|
|
54
58
|
export default Dock;
|