mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #32593 from priscila-moneo/master
Reactable - Added missing props to type definition
This commit is contained in:
Vendored
+8
-2
@@ -1,6 +1,6 @@
|
||||
// Type definitions for reactable 0.14
|
||||
// Project: https://github.com/glittershark/reactable
|
||||
// Definitions by: Christoph Spielmann <https://github.com/spielc>
|
||||
// Definitions by: Christoph Spielmann <https://github.com/spielc>, Priscila Moneo <https://github.com/priscila-moneo>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
@@ -23,10 +23,16 @@ export interface TableComponentProperties<T> {
|
||||
columns?: ColumnsType[];
|
||||
defaultSort?: { column: string, direction: SortDirection };
|
||||
id?: string;
|
||||
sortable?: string[];
|
||||
sortable?: string[] | boolean;
|
||||
sortBy?: boolean;
|
||||
filterable?: string[];
|
||||
filterBy?: string;
|
||||
onFilter?: FilterMethodType;
|
||||
itemsPerPage?: number;
|
||||
noDataText?: string;
|
||||
pageButtonLimit?: number;
|
||||
currentPage?: number;
|
||||
hideFilterInput?: boolean;
|
||||
}
|
||||
|
||||
export interface ThProperties {
|
||||
|
||||
Reference in New Issue
Block a user