Skip to content

Commit

Permalink
Keep sanitize fn exported
Browse files Browse the repository at this point in the history
  • Loading branch information
arminmeh committed Dec 23, 2024
1 parent 2a2d04b commit 270950f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function GridFilterInputBoolean(props: GridFilterInputBooleanProps) {
);
}

function sanitizeFilterItemValue(value: any): boolean | undefined {
export function sanitizeFilterItemValue(value: any): boolean | undefined {
if (String(value).toLowerCase() === 'true') {
return true;
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/x-data-grid-premium.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@
{ "name": "renderEditSingleSelectCell", "kind": "Variable" },
{ "name": "renderRowReorderCell", "kind": "Variable" },
{ "name": "RowPropsOverrides", "kind": "Interface" },
{ "name": "sanitizeFilterItemValue", "kind": "Variable" },
{ "name": "sanitizeFilterItemValue", "kind": "Function" },
{ "name": "selectedGridRowsCountSelector", "kind": "Variable" },
{ "name": "selectedGridRowsSelector", "kind": "Variable" },
{ "name": "selectedIdsLookupSelector", "kind": "Variable" },
Expand Down
2 changes: 1 addition & 1 deletion scripts/x-data-grid-pro.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@
{ "name": "renderEditSingleSelectCell", "kind": "Variable" },
{ "name": "renderRowReorderCell", "kind": "Variable" },
{ "name": "RowPropsOverrides", "kind": "Interface" },
{ "name": "sanitizeFilterItemValue", "kind": "Variable" },
{ "name": "sanitizeFilterItemValue", "kind": "Function" },
{ "name": "selectedGridRowsCountSelector", "kind": "Variable" },
{ "name": "selectedGridRowsSelector", "kind": "Variable" },
{ "name": "selectedIdsLookupSelector", "kind": "Variable" },
Expand Down
2 changes: 1 addition & 1 deletion scripts/x-data-grid.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@
{ "name": "renderEditInputCell", "kind": "Variable" },
{ "name": "renderEditSingleSelectCell", "kind": "Variable" },
{ "name": "RowPropsOverrides", "kind": "Interface" },
{ "name": "sanitizeFilterItemValue", "kind": "Variable" },
{ "name": "sanitizeFilterItemValue", "kind": "Function" },
{ "name": "selectedGridRowsCountSelector", "kind": "Variable" },
{ "name": "selectedGridRowsSelector", "kind": "Variable" },
{ "name": "selectedIdsLookupSelector", "kind": "Variable" },
Expand Down

0 comments on commit 270950f

Please sign in to comment.