4a38cbd550
* add basic sidebar container Signed-off-by: Kerry Archibald <kerrya@element.io> * optionally show icon in beaconstatus Signed-off-by: Kerry Archibald <kerrya@element.io> * add avatar and style list item Signed-off-by: Kerry Archibald <kerrya@element.io> * formatted last update time Signed-off-by: Kerry Archibald <kerrya@element.io> * test beacon list item Signed-off-by: Kerry Archibald <kerrya@element.io> * move makeRoomWithState events to test utils Signed-off-by: Kerry Archibald <kerrya@element.io> * move beacon test helpers into utils Signed-off-by: Kerry Archibald <kerrya@element.io> * newline Signed-off-by: Kerry Archibald <kerrya@element.io> * add copyable text to beacon list item Signed-off-by: Kerry Archibald <kerrya@element.io> * add copyable geo uri to list item Signed-off-by: Kerry Archibald <kerrya@element.io> * improve spacing Signed-off-by: Kerry Archibald <kerrya@element.io> * overflow scroll on list Signed-off-by: Kerry Archibald <kerrya@element.io>
36 lines
899 B
Text
36 lines
899 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<OwnBeaconStatus /> renders without a beacon instance 1`] = `
|
|
<OwnBeaconStatus
|
|
displayStatus="Loading"
|
|
>
|
|
<BeaconStatus
|
|
className="mx_MBeaconBody_chin"
|
|
displayLiveTimeRemaining={true}
|
|
displayStatus="Loading"
|
|
label="Live location enabled"
|
|
withIcon={true}
|
|
>
|
|
<div
|
|
className="mx_BeaconStatus mx_BeaconStatus_Loading mx_MBeaconBody_chin"
|
|
>
|
|
<StyledLiveBeaconIcon
|
|
className="mx_BeaconStatus_icon"
|
|
isIdle={true}
|
|
withError={false}
|
|
>
|
|
<div
|
|
className="mx_StyledLiveBeaconIcon mx_BeaconStatus_icon mx_StyledLiveBeaconIcon_idle"
|
|
/>
|
|
</StyledLiveBeaconIcon>
|
|
<div
|
|
className="mx_BeaconStatus_description"
|
|
>
|
|
<span>
|
|
Loading live location...
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</BeaconStatus>
|
|
</OwnBeaconStatus>
|
|
`;
|