Web:Components:Selector: fix types

This commit is contained in:
Timofey Boyko 2023-06-08 18:21:20 +03:00
parent 6e2a166905
commit 0d075785cb
4 changed files with 15 additions and 14 deletions

View File

@ -14,6 +14,7 @@ import { BodyProps } from "./Body.types";
const CONTAINER_PADDING = 16;
const HEADER_HEIGHT = 54;
const BREAD_CRUMBS_HEIGHT = 54;
const SEARCH_HEIGHT = 44;
const SELECT_ALL_HEIGHT = 73;
const FOOTER_HEIGHT = 73;

View File

@ -1,9 +1,9 @@
export type EmptyScreenProps = {
image: string;
header: string;
description: string;
searchImage: string;
searchHeader: string;
searchDescription: string;
image?: string;
header?: string;
description?: string;
searchImage?: string;
searchHeader?: string;
searchDescription?: string;
withSearch: boolean;
};

View File

@ -1,6 +1,6 @@
export type SearchProps = {
placeholder: string;
value: string;
placeholder?: string;
value?: string;
onSearch: (value: string) => void;
onClearSearch: () => void;
};

View File

@ -1,9 +1,9 @@
export type SelectAllProps = {
label: string;
icon: string;
onSelectAll: () => void;
isChecked: boolean;
isIndeterminate: boolean;
isLoading: boolean;
label?: string;
icon?: string;
onSelectAll?: () => void;
isChecked?: boolean;
isIndeterminate?: boolean;
isLoading?: boolean;
rowLoader: any;
};