diff --git a/types/reactable/index.d.ts b/types/reactable/index.d.ts index 5a6b80317d..ed620a194c 100644 --- a/types/reactable/index.d.ts +++ b/types/reactable/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for reactable 0.14 // Project: https://github.com/glittershark/reactable -// Definitions by: Christoph Spielmann +// Definitions by: Christoph Spielmann , Priscila Moneo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -23,10 +23,16 @@ export interface TableComponentProperties { 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 {