Skip to content

Commit

Permalink
chore(docs): fix modal docs so props are readable (#6685)
Browse files Browse the repository at this point in the history
Co-authored-by: emyarod <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 20, 2020
1 parent 00f22e2 commit 218d1be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react/src/components/Modal/Modal-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { withKnobs, boolean, select, text } from '@storybook/addon-knobs';
import Modal from '../Modal';
import TextInput from '../TextInput';
import { settings } from 'carbon-components';
import mdx from './Modal.mdx';

const { prefix } = settings;

Expand Down Expand Up @@ -105,6 +106,9 @@ export default {

parameters: {
component: Modal,
docs: {
page: mdx,
},
},
};

Expand Down
15 changes: 15 additions & 0 deletions packages/react/src/components/Modal/Modal.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Props } from '@storybook/addon-docs/blocks';

# Modal

## Overview

## Component API

<Props />

## Feedback

Help us improve this component by providing feedback through, asking questions
on Slack,or updating this file on GitHub
[GitHub](https://github.com/carbon-design-system/carbon/edit/master/packages/react/src/components/Modal/Modal.mdx).

0 comments on commit 218d1be

Please sign in to comment.