Web:Components:Selector: fix types
This commit is contained in:
parent
6e2a166905
commit
0d075785cb
@ -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;
|
||||
|
@ -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;
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
export type SearchProps = {
|
||||
placeholder: string;
|
||||
value: string;
|
||||
placeholder?: string;
|
||||
value?: string;
|
||||
onSearch: (value: string) => void;
|
||||
onClearSearch: () => void;
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user