mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-19 17:57:47 +00:00
23 lines
673 B
TypeScript
23 lines
673 B
TypeScript
import { Component } from 'react';
|
|
|
|
/**
|
|
* Abstract component that defines a refreshable page to be rendered by
|
|
* {@code PagedList}.
|
|
*/
|
|
export default class AbstractPage<P> extends Component<P> {
|
|
/**
|
|
* Method to be overridden by the implementing classes to refresh the data
|
|
* content of the component.
|
|
*
|
|
* Note: It is a static method as the {@code Component} may not be
|
|
* initialized yet when the UI invokes refresh (e.g. Tab change).
|
|
*
|
|
* @param {any} _p1 - Param 1.
|
|
* @param {any} _p2 - Param 2.
|
|
* @returns {void}
|
|
*/
|
|
static refresh(_p1?: any, _p2?: any) {
|
|
// No implementation in abstract class.
|
|
}
|
|
}
|