Interface ScrollListProps<D, F>

interface ScrollListProps<D extends DataObject, F extends Filter<D> = Filter<D>> {
    className?: string;
    defaultData?: D[];
    filter?: F;
    store: ListModel<D, F>;
    translator: TranslationModel<string, "load_more" | "no_more">;
    renderList(allItems: D[]): ReactNode;
}

Type Parameters

  • D extends DataObject
  • F extends Filter<D> = Filter<D>

Hierarchy

Properties

className?: string
defaultData?: D[]
filter?: F
store: ListModel<D, F>
translator: TranslationModel<string, "load_more" | "no_more">

Methods