chore: export parameters and example components (#1347)

* chore: export parameters and example components

* chore: export OpenAPIEncoding interface
This commit is contained in:
Anna Stasiuk 2020-08-14 12:24:22 +03:00 committed by GitHub
parent 74ebba6e02
commit 171711f79c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -67,7 +67,7 @@ function DropdownWithinHeader(props) {
);
}
function BodyContent(props: { content: MediaContentModel; description?: string }): JSX.Element {
export function BodyContent(props: { content: MediaContentModel; description?: string }): JSX.Element {
const { content, description } = props;
return (
<MediaTypesSwitch content={content} renderDropdown={DropdownWithinHeader}>

View File

@ -21,6 +21,8 @@ export * from './Responses/ResponseTitle';
export * from './ResponseSamples/ResponseSamples';
export * from './PayloadSamples/PayloadSamples';
export * from './MediaTypeSwitch/MediaTypesSwitch';
export * from './Parameters/Parameters';
export * from './PayloadSamples/Example';
export * from './ErrorBoundary';
export * from './StoreBuilder';

View File

@ -1,5 +1,6 @@
export * from './components';
export { MiddlePanel, Row, RightPanel, Section } from './common-elements/';
export { OpenAPIEncoding } from './types';
export * from './services';
export * from './utils';