department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

[CU] Expose all args in RN Storybook #101

Open narin opened 5 months ago

narin commented 5 months ago

Description

On the web, storybook automatically makes all args available for editing in the Add-ons in the Controls panel. On mobile, this does not happen and only the preset args for that particular story are exposed. We should figure out if there's a way to make these all visible on mobile.

This blog post seems to suggest it's possible, but the code is outdated and extractArgTypes doesn't seem to be available. There might be an updated way to do it.

Acceptance Criteria