UNPKG

@mikezimm/npmfunctions

Version:
26 lines (25 loc) 1.31 kB
/// <reference types="react" /> /** * This builds up the Shared History tab-page in Pivot Tiles library permissions * Provides Table of all individual sharing events on library in chronological order * @param sharedItems - like the array of items from a fetch * @param width */ export declare function buildChronoSortedSharingEvents(sharedItems: any[], width: number): any[]; /** * This builds up the Shared Details tab-page in Pivot Tiles library permissions * This shows all sharing grouped by the file that was shared * @param sharedItems * @param width */ export declare function buildShareEventsGroupedByItem(sharedItems: any[], width: number): any[]; /** * This just creates the 3 column table for each file/item showing When, who shared, with whome. * Can be consumed as a cell in a larger table of all shared files or just for a specific file. * @param item * @param headings * @param cleanCells - this will remove Date and Shared By if both of those are the same as the previous row. * @param tableStyle */ export declare function createDetailsShareTable(item: any, headings: boolean, cleanCells: boolean, tableStyle: 'pad30' | '100%Wide'): JSX.Element | null; export declare function buildConstructionElement(mainContent: any, additionalContent: any): JSX.Element;