mirror of https://github.com/vector-im/riot-web
Iterate PresenceLabel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
298e505381
commit
1b64cd0c88
|
@ -17,17 +17,17 @@ limitations under the License.
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { _t } from '../../../languageHandler';
|
import { _t } from '../../../languageHandler';
|
||||||
import {replaceableComponent} from "../../../utils/replaceableComponent";
|
import { replaceableComponent } from "../../../utils/replaceableComponent";
|
||||||
|
|
||||||
interface IProps {
|
interface IProps {
|
||||||
// number of milliseconds ago this user was last active.
|
// number of milliseconds ago this user was last active.
|
||||||
// zero = unknown
|
// zero = unknown
|
||||||
activeAgo?: number,
|
activeAgo?: number;
|
||||||
// if true, activeAgo is an approximation and "Now" should
|
// if true, activeAgo is an approximation and "Now" should
|
||||||
// be shown instead
|
// be shown instead
|
||||||
currentlyActive?: boolean,
|
currentlyActive?: boolean;
|
||||||
// offline, online, etc
|
// offline, online, etc
|
||||||
presenceState?: string,
|
presenceState?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@replaceableComponent("views.rooms.PresenceLabel")
|
@replaceableComponent("views.rooms.PresenceLabel")
|
||||||
|
|
Loading…
Reference in New Issue