new PostLoadingScreen() → {JSX.Element}
This is the post loading screen. This post needs to be displayed whenever the posts are being loaded from the contract.
- Source:
Returns:
- Type
- JSX.Element
Example
ReactDOM.render(<PostLoadingScreen/>,domHolder);
or
<div>
<PostLoadingScreen/>
</div>
Members
(inner, constant) fetchingLottieOptions :Object
Fetching post lottie animation render options
Type:
- Object
- Source:
- See:
-
- Lottie
- flatten
- fetchingAnimation
(inner, constant) mainLoadingLottieOptions :Object
Loading progress lottie animation render options
Type:
- Object
- Source:
- See:
-
- Lottie
- flatten
- loadingAnimation
Methods
(inner) postIdChangeCallback(data)
This function is a callback to change post id to the currently loading post
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Event data details containing the post id |
- Source:
- See:
(inner) postLoadStatusChangeCallback(data)
This function is a callback to status change event of the Post locating screen
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Event details containing the status message |
- Source:
- See: