Skip to main content

<LoadMore/>

A component for infinite scroll pagination - Load More button goes to the next page

Example

index.tsx
import {Results, ProductGrid,FastSimonApi,SearchBox,Filters, Pagination, LoadMore} from "fast-component-library";
import React from "react";

export const App = () => {
return (
<FastSimonApi storeID={1} uuid={"rand-omuu-id12-3456"}>
<header>
Search: <SearchBox/>
</header>

<Results>
<Filters/>
<ProductGrid/>
</Results>

<LoadMore/>
</FastSimonApi>
)
}

Props

OptionTypeDescription
customClassesCustomClassesCustom classes load more

Types

interface CustomStyles {
wrapper?: string
button?: string
}