Files
speckle-server/packages/frontend-2/lib/global/helpers/components.ts
T
Kristaps Fabians Geikins b02a07e2b6 feat: Frontend 2.0 MVP
2023-05-08 10:47:01 +03:00

15 lines
382 B
TypeScript

export type InfiniteLoaderState = {
/**
* Informs the component that this loading has been successful
*/
loaded: () => void
/**
* Informs the component that all of the data has been loaded successfully
*/
complete: () => void
/**
* Inform the component that this loading failed, the content of the `error` slot will be displayed
*/
error: () => void
}