Open flugg opened 5 months ago
Hey, thank you!
Hm, I think this is an issue with node_modules
specifically since currently any types outside of the project are skipped over. There could be an additional option to process them though so something like <ExportTypes includeNodeModules />
or maybe a filterType
prop might be better.
An option to delicately pick which props to include sounds very reasonable to me, and is similar to how react-docgen-typescript does it with the propFilter prop. I've previously utilized this prop in my Storybook configuration to include metadata for props from node_modules
for my controls.
Hi! First of all, really great project!
I got things running using the
ExportedTypes
component like this:However, the output only includes local types defined in the
button.tsx
file and not any types that's extended. The button file looks like this:And I would like to get access to all props including those from within the React Aria Components library. How would I do it?
Thanks!