Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Allow render function to be sourced from story meta #103

Merged
merged 2 commits into from
May 19, 2022

Conversation

TeaSeaLancs
Copy link
Contributor

@TeaSeaLancs TeaSeaLancs commented May 13, 2022

Issue: #104

What Changed

CSF3 allows for the render function to bubble up story to meta in the same way as args/parameters/etc, so this should be taken into account when composing stories.

Checklist

Check the ones applicable to your change:

  • Tests are updated
  • Documentation is updated

Change Type

Indicate the type of change your pull request is:

  • documentation
  • patch
  • minor
  • major

TeaSeaLancs and others added 2 commits May 13, 2022 14:55
CSF3 allows for the render function to bubble up story to meta in the same way as args/parameters/etc, so this should be taken into account when composing stories.
@yannbf yannbf added patch Increment the patch version when merged release Create a release when this pr is merged labels May 19, 2022
@yannbf
Copy link
Member

yannbf commented May 19, 2022

Thank you so much for this contribution @TeaSeaLancs ! Great catch 🚀

@yannbf yannbf merged commit 01db6c5 into storybookjs:main May 19, 2022
@github-actions
Copy link

🚀 PR was released in v1.3.0 🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
patch Increment the patch version when merged release Create a release when this pr is merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants