@mackin.com/styleguide 8.5.2 → 8.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -484,7 +484,7 @@ declare const OmniLink: (props: OmniLinkProps) => JSX.Element;
|
|
|
484
484
|
|
|
485
485
|
declare type SortDirection = 'asc' | 'desc';
|
|
486
486
|
interface PagerSortOption<TItem> {
|
|
487
|
-
id: string;
|
|
487
|
+
id: string | number;
|
|
488
488
|
name?: string;
|
|
489
489
|
sort: (items: TItem[]) => TItem[];
|
|
490
490
|
}
|
|
@@ -495,6 +495,7 @@ interface PagerOptions<TItem> {
|
|
|
495
495
|
limitOptions?: number[];
|
|
496
496
|
sort?: string;
|
|
497
497
|
sortOptions?: PagerSortOption<TItem>[];
|
|
498
|
+
/** Will copy over this pagers options, filters, and state. */
|
|
498
499
|
previous?: ItemPager<TItem>;
|
|
499
500
|
}
|
|
500
501
|
/** In-memory pager. */
|