fix(typescript): resolve 44 TypeScript errors in core components (#1004)

This commit is contained in:
Gauvain
2025-08-31 16:56:53 +02:00
committed by GitHub
parent 83c4aadbb4
commit df0b569f2d
64 changed files with 162 additions and 129 deletions

View File

@@ -7,7 +7,7 @@ import { FilterSheet } from "./FilterSheet";
interface FilterButtonProps<T> extends ViewProps {
id: string;
showSearch?: boolean;
disableSearch?: boolean;
queryKey: string;
values: T[];
title: string;
@@ -28,7 +28,7 @@ export const FilterButton = <T,>({
title,
renderItemLabel,
searchFilter,
showSearch = true,
disableSearch = false,
multiple = false,
icon = "filter",
...props
@@ -94,7 +94,7 @@ export const FilterButton = <T,>({
set={set}
renderItemLabel={renderItemLabel}
searchFilter={searchFilter}
showSearch={showSearch}
disableSearch={disableSearch}
multiple={multiple}
/>
</>