mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-13 10:34:37 +00:00
lint
This commit is contained in:
@@ -28,9 +28,10 @@ const reactionData = {
|
||||
* A wrapper component that is used for:
|
||||
* - exposing the snapshot via props so the storybook documents the snapshot properties (basically unpack them form the vm)
|
||||
* - Add additional react context
|
||||
* @param children used for the "Back to Recents" button in the lobby stories, but can be used for anything really
|
||||
* @param vmSnapshot the Snapshot of the vm, the wrapper will create a mocked vm from it and pass it to the CallFooter.
|
||||
* @returns
|
||||
* The paraeters are all params from the FooterSnapshot,
|
||||
* the Snapshot of the vm, the wrapper will create a mocked vm from it and pass it to the CallFooter.
|
||||
* children used for the "Back to Recents" button in the lobby stories, but can be used for anything really
|
||||
* @returns A component that renders the CallFooter based on primitive snapshot params (not a view model). Which is what we want for storybook.
|
||||
*/
|
||||
function CallFooterStoryWrapper({
|
||||
children,
|
||||
|
||||
@@ -156,7 +156,7 @@ function buildDeviceBehaviors(
|
||||
* Creates the ViewModel for the CallFooter.
|
||||
*
|
||||
* @param scope - ObservableScope that bounds the lifetime of derived behaviors.
|
||||
* @param vm - The root CallViewModel; provides layout, grid mode, reactions, etc.
|
||||
* @param callModel - The root CallViewModel; provides layout, grid mode, reactions, etc.
|
||||
* @param muteStates - Audio and video mute state + toggles.
|
||||
* @param mediaDevices - Available and selected input devices.
|
||||
* @param openSettings - Callback to open the settings modal, or undefined if the
|
||||
|
||||
Reference in New Issue
Block a user