@starasia/admin 3.23.0 → 4.0.1

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.
@@ -13,7 +13,9 @@ export type TableHeaderProps = {
13
13
  action?: ActionProps[] | React.ReactNode;
14
14
  rightContent?: React.ReactNode;
15
15
  leftContent?: React.ReactNode;
16
- headerSlot?: React.ReactNode;
16
+ headerSlot?: (ctx: {
17
+ filter: React.ReactNode;
18
+ }) => React.ReactNode;
17
19
  advanceFilter?: AdvanceFilterBarProps;
18
20
  show?: boolean;
19
21
  showFilter?: boolean;
@@ -97,7 +97,9 @@ export type TableHeaderProps = {
97
97
  action?: ActionProps[] | React.ReactNode;
98
98
  rightContent?: React.ReactNode;
99
99
  leftContent?: React.ReactNode;
100
- headerSlot?: React.ReactNode;
100
+ headerSlot?: (ctx: {
101
+ filter: ReactNode;
102
+ }) => ReactNode;
101
103
  advanceFilter?: AdvanceFilterBarProps;
102
104
  show?: boolean;
103
105
  showFilter?: boolean;