Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docgen comments in CSF format stories not displaying #10031

Closed
kvedantmahajan opened this issue Mar 3, 2020 · 1 comment
Closed

docgen comments in CSF format stories not displaying #10031

kvedantmahajan opened this issue Mar 3, 2020 · 1 comment

Comments

@kvedantmahajan
Copy link

Describe the bug
As per docs the docgen comments should display. I wrote them in the exact format and the right place and couldn't see them above my story.

/**
 * By default the `Card` will take full width of the grid column put in. To control the width use style prop
 */
export const Basic = () => (
	<Card style={{ width: 300 }}>
		<Para>Card content</Para>
		<Para>Card content</Para>
		<Para>Card content</Para>
	</Card>
);

System:
Environment Info:

System:
OS: macOS 10.15.2
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Binaries:
Node: 12.10.0 - ~/.nvm/versions/node/v12.10.0/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.10.3 - ~/.nvm/versions/node/v12.10.0/bin/npm
Browsers:
Chrome: 80.0.3987.122
Safari: 13.0.4
npmPackages:
@storybook/addon-a11y: ^5.3.14 => 5.3.14
@storybook/addon-actions: ^5.3.14 => 5.3.14
@storybook/addon-console: ^1.2.1 => 1.2.1
@storybook/addon-docs: ^5.3.14 => 5.3.14
@storybook/addon-info: ^5.3.14 => 5.3.14
@storybook/addon-notes: ^5.3.14 => 5.3.14
@storybook/addon-storyshots: ^5.3.14 => 5.3.14
@storybook/addon-viewport: ^5.3.14 => 5.3.14
@storybook/react: ^5.3.14 => 5.3.14
@storybook/source-loader: ^5.3.14 => 5.3.14

@shilman
Copy link
Member

shilman commented Mar 4, 2020

Closing as dupe to #8527

@shilman shilman closed this as completed Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants