UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

43 lines 1.47 kB
import * as React from 'react'; import { IAnyContentRelated } from './IRelatedItemsState'; import { IFpsSpHttpServiceMIN } from "@mikezimm/fps-core-v7/lib/components/molecules/SpHttp/Sp/IFpsSpHttpServiceMIN"; import { WebPartContextCopy_15_2 } from '@mikezimm/fps-core-v7/lib/types/@msft/1.15.2/WebPartContext'; import { ITheme } from '@mikezimm/fps-core-v7/lib/types/@fluentUI/@7.199.1/ITheme'; export interface IRelatedFetchInfo { web: string; listTitle: string; restFilter: string; fpsSpService: IFpsSpHttpServiceMIN; itemsAreFiles: boolean; linkProp: string; displayProp: string; canvasLinks?: boolean; canvasImgs?: boolean; ignoreDefaultImages?: boolean; textFilter?: string; textFilterProps?: string[]; } export type IRelatedKey = 'related1' | 'related2' | 'pageLinks'; /** * Immutable ITheme. * * @public */ export interface IReadonlyTheme extends Readonly<ITheme> { } export interface IRelatedItemsProps { context?: WebPartContextCopy_15_2; fpsSpService: IFpsSpHttpServiceMIN; parentKey: IRelatedKey; heading: string; showItems: boolean; isExpanded: boolean; fetchInfo: IRelatedFetchInfo; items?: IAnyContentRelated[]; linkSearchBox?: boolean; linkFilter?: string; linkTrimmed?: boolean; themeVariant: IReadonlyTheme | undefined; itemsStyle: React.CSSProperties; } //# sourceMappingURL=IRelatedItemsProps.d.ts.map