'docs' here would be a new parameter to getArgsShared, toggling a slightly different way of returning the info... suited to be displayed as a single array item definition inside Docs.
Could probably also provide those exports from existing *.stories.tsx files for conenience, and to keep the MDX files slim.
This works in
Controls
, but not inDocs
. Example: https://github.com/kickstartDS/ds-agency/blob/main/src/components/logos/Logos.mdx#L13C13-L13C13We should possibly be able to do something like this
'docs'
here would be a new parameter togetArgsShared
, toggling a slightly different way of returning the info... suited to be displayed as a single array item definition insideDocs
.Could probably also provide those exports from existing
*.stories.tsx
files for conenience, and to keep theMDX
files slim.