@progress/sitefinity-nextjs-sdk
Version:
Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.
15 lines (14 loc) • 484 B
TypeScript
import { ViewPropsBase } from '../common/view-props-base';
import { ResultsEntity } from './results.entity';
export interface FindResultItem {
Title: string;
Link?: string;
Order: number;
}
export interface ResultsViewProps<T extends ResultsEntity> extends ViewPropsBase<T> {
/** null means no search query was present — render nothing */
searchResults: FindResultItem[] | null;
resultsHeader: string;
resultsNumberLabel: string;
pageSize: number;
}