This commit is contained in:
Timo K
2026-05-12 12:52:23 +02:00
parent 246db5a820
commit f3ef7c074b
2 changed files with 5 additions and 4 deletions

View File

@@ -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,