OperationCode / front-end

Operation Code's website
https://operationcode.org
MIT License
371 stars 267 forks source link

Configure Storybook to include Storybook files with .ts extension #1795

Closed recondesigns closed 9 months ago

recondesigns commented 9 months ago

Feature request

Our Storybook config currently only picks up stories in files with .js extension. So, converting the Button component's Storybook file to .ts or .tsx, the stories/file are ignored by Storybook when rendering.

Screenshots

Screenshot 2024-02-23 at 2 10 25 AM Screenshot 2024-02-23 at 2 10 47 AM

Proposed solution

Configure Storybook to use stories from all acceptable file extension, including .ts and .tsx.

Basic config guide here.

Potential alternative solutions

Discussion?

Additional context

N/A

recondesigns commented 9 months ago

Can I be assigned to this? I already have this going.