Ignore non-story functions inside stories files #65
Labels
good first issue
Good for newcomers
preview
Related to the Monarch Preview Window or monarch package
Story functions are simple functions that return a
Widget
and take zero arguments. Their type isWidget Function()
.The stories files may have functions which are not stories, i.e. functions which take parameters. Unfortunately, the code generation builders think they are candidates for story functions. Thus, they process them and they fail with an unhelpful error message.
The builders should detect these non-story functions and ignore them.
Here are some sample functions which generate error messages:
The text was updated successfully, but these errors were encountered: