OperationCode/front-end

Configure Storybook to include Storybook files with .ts extension

recondesigns opened this issue · 1 comments

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

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