Skip to content

Commit

Permalink
UI: filterWrapper adjustments (conditional button disabling)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofa-tata committed Jun 19, 2023
1 parent be8b9f6 commit 7d09e8d
Show file tree
Hide file tree
Showing 9 changed files with 1,277 additions and 1,260 deletions.
2 changes: 1 addition & 1 deletion dist/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cjs/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ interface FilterWrapperProps {
hideWrapper?: boolean;
isPopperOpen?: boolean;
onTogglePopper?: () => void;
shouldDisableBtn?: (val: any) => boolean;
disabledBtnTooltip?: string;
}
declare function FilterWrapper({ setFilter, value, children, columnTitle, hideWrapper, isPopperOpen: isPopperOpenOuter, onTogglePopper: onTogglePopperOuter }: FilterWrapperProps): JSX.Element;
declare function FilterWrapper({ setFilter, value, children, columnTitle, disabledBtnTooltip, hideWrapper, shouldDisableBtn, isPopperOpen: isPopperOpenOuter, onTogglePopper: onTogglePopperOuter }: FilterWrapperProps): JSX.Element;
export default FilterWrapper;
2 changes: 1 addition & 1 deletion dist/esm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/esm/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ interface FilterWrapperProps {
hideWrapper?: boolean;
isPopperOpen?: boolean;
onTogglePopper?: () => void;
shouldDisableBtn?: (val: any) => boolean;
disabledBtnTooltip?: string;
}
declare function FilterWrapper({ setFilter, value, children, columnTitle, hideWrapper, isPopperOpen: isPopperOpenOuter, onTogglePopper: onTogglePopperOuter }: FilterWrapperProps): JSX.Element;
declare function FilterWrapper({ setFilter, value, children, columnTitle, disabledBtnTooltip, hideWrapper, shouldDisableBtn, isPopperOpen: isPopperOpenOuter, onTogglePopper: onTogglePopperOuter }: FilterWrapperProps): JSX.Element;
export default FilterWrapper;
Loading

0 comments on commit 7d09e8d

Please sign in to comment.