You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
open BsStorybook.Story;
let _module = [%bs.raw "module"];
storiesOf("My First Reason Story", _module)
->add("Chapter I", () => <span> {React.string("Hello rescript-storybook!")} </span>);
But afaik - prefixing something with an underscore tells the compiler it should be ignored. I think the idiomatic way is to postfix it with an underscore, no? module_ instead of _module ?
Completely low-prio issue / nit. But happy to create a PR for this :)
The text was updated successfully, but these errors were encountered:
Hey!
I see the examples go like this:
But afaik - prefixing something with an underscore tells the compiler it should be ignored. I think the idiomatic way is to postfix it with an underscore, no?
module_
instead of_module
?Completely low-prio issue / nit. But happy to create a PR for this :)
The text was updated successfully, but these errors were encountered: