mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54:08 +03:00
chore: export parameters and example components (#1347)
* chore: export parameters and example components * chore: export OpenAPIEncoding interface
This commit is contained in:
parent
74ebba6e02
commit
171711f79c
|
@ -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;
|
const { content, description } = props;
|
||||||
return (
|
return (
|
||||||
<MediaTypesSwitch content={content} renderDropdown={DropdownWithinHeader}>
|
<MediaTypesSwitch content={content} renderDropdown={DropdownWithinHeader}>
|
||||||
|
|
|
@ -21,6 +21,8 @@ export * from './Responses/ResponseTitle';
|
||||||
export * from './ResponseSamples/ResponseSamples';
|
export * from './ResponseSamples/ResponseSamples';
|
||||||
export * from './PayloadSamples/PayloadSamples';
|
export * from './PayloadSamples/PayloadSamples';
|
||||||
export * from './MediaTypeSwitch/MediaTypesSwitch';
|
export * from './MediaTypeSwitch/MediaTypesSwitch';
|
||||||
|
export * from './Parameters/Parameters';
|
||||||
|
export * from './PayloadSamples/Example';
|
||||||
|
|
||||||
export * from './ErrorBoundary';
|
export * from './ErrorBoundary';
|
||||||
export * from './StoreBuilder';
|
export * from './StoreBuilder';
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
export * from './components';
|
export * from './components';
|
||||||
export { MiddlePanel, Row, RightPanel, Section } from './common-elements/';
|
export { MiddlePanel, Row, RightPanel, Section } from './common-elements/';
|
||||||
|
export { OpenAPIEncoding } from './types';
|
||||||
export * from './services';
|
export * from './services';
|
||||||
export * from './utils';
|
export * from './utils';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user