mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-11 03:16:48 +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;
|
||||
return (
|
||||
<MediaTypesSwitch content={content} renderDropdown={DropdownWithinHeader}>
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user