Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature Request] Allow title to exist without throwing an error #19

Open
matthew-dean opened this issue Apr 22, 2022 · 1 comment · May be fixed by #20
Open

[Feature Request] Allow title to exist without throwing an error #19

matthew-dean opened this issue Apr 22, 2022 · 1 comment · May be fixed by #20

Comments

@matthew-dean
Copy link

It seems like this Babel plugin only allows setting the title for story files that don't have titles. Would it be possible to not just automatically throw an error, but take the title in as input (as a prop in state) and allow a different title as output? For instance, I want to prepend a folder name based on file location, but all my Storybook stories currently have titles.

@matthew-dean
Copy link
Author

i.e. ifTitleFound should allow a behavior other than skip and error

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant