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

Allow passing a prop type or interface directly to the props option in the docs #3771

Merged
merged 18 commits into from
Aug 11, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed props.tsx files and uncomment playground files
ashikmeerankutty committed Aug 5, 2020
commit af6e5996f20c9d1fa84ec5a0d3a799e53aea88d3
3 changes: 2 additions & 1 deletion src-docs/src/views/avatar/avatar_example.js
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import { renderToHtml } from '../../services';
import { GuideSectionTypes } from '../../components';

import { EuiAvatar, EuiCode } from '../../../../src/components';
// import avatarConfig from './playground';
import avatarConfig from './playground';

import Avatar from './avatar';
const avatarSource = require('!!raw-loader!./avatar');
@@ -96,4 +96,5 @@ export const AvatarExample = {
demo: <AvatarInitials />,
},
],
playground: avatarConfig,
};
4 changes: 2 additions & 2 deletions src-docs/src/views/button/button_example.js
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ import {
EuiText,
} from '../../../../src/components';
import Guidelines from './guidelines';
// import buttonConfig from './playground';
import buttonConfig from './playground';

import Button from './button';
const buttonSource = require('!!raw-loader!./button');
@@ -389,5 +389,5 @@ export const ButtonExample = {
},
],
guidelines: <Guidelines />,
// playground: buttonConfig,
playground: buttonConfig,
};
19 changes: 0 additions & 19 deletions src-docs/src/views/color_picker/props.tsx

This file was deleted.

61 changes: 0 additions & 61 deletions src-docs/src/views/datagrid/props.tsx

This file was deleted.