Interface UseProjectsReturn

The return type of the useProjects hook.

Hierarchy

  • UseProjectsReturn

Properties

currentPage: number

The current page of the pagination.

Function to fetch the next page of projects or refresh the current page.

fetched: boolean

A boolean flag indicating whether the projects have been fetched.

hasMore: boolean

A boolean indicating whether more projects are available to fetch.

projects: ProjectType[]

Array of fetched projects.

Function to refresh the project list.

Generated using TypeDoc