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
Proposed solution
Configure Storybook to use stories from all acceptable file extension, including .ts and .tsx.
Feature request
Our Storybook config currently only picks up stories in files with
.js
extension. So, converting theButton
component's Storybook file to.ts
or.tsx
, the stories/file are ignored by Storybook when rendering.Screenshots
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