@starasia/admin 8.1.2 → 8.1.4
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.
|
@@ -6,10 +6,13 @@ interface AddFilterMenuProps {
|
|
|
6
6
|
activeKeys: string[];
|
|
7
7
|
onToggle: (key: string) => void;
|
|
8
8
|
hasActiveFilter?: boolean;
|
|
9
|
+
/** Clear all active filters (rendered as a trash button in the menu title). */
|
|
10
|
+
onReset?: () => void;
|
|
9
11
|
}
|
|
10
12
|
/**
|
|
11
13
|
* The ⚙ Filter button → a menu listing the filter catalog. Selecting an item
|
|
12
|
-
* toggles its pill on the bar (the menu stays open for multi-add).
|
|
14
|
+
* toggles its pill on the bar (the menu stays open for multi-add). When any
|
|
15
|
+
* filter is active, the menu title shows a Reset (trash) action.
|
|
13
16
|
*/
|
|
14
17
|
export declare const AddFilterMenu: React.FC<AddFilterMenuProps>;
|
|
15
18
|
export {};
|