mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 06:04:56 +03:00
Fixed issues that arose from latest changes / merge
This commit is contained in:
parent
72d120f422
commit
0dee3a8907
|
@ -3,8 +3,8 @@ import * as React from 'react';
|
|||
|
||||
import { AppStore } from '../../services/AppStore';
|
||||
|
||||
import { ExternalDocumentation } from '../ExternalDocumentation/ExternalDocumentation';
|
||||
import { MiddlePanel, Row, Section } from '../../common-elements/';
|
||||
import { ExternalDocumentation } from '../ExternalDocumentation/ExternalDocumentation';
|
||||
import { Markdown } from '../Markdown/Markdown';
|
||||
import { StyledMarkdownBlock } from '../Markdown/styled.elements';
|
||||
import {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { observer } from 'mobx-react';
|
||||
import * as React from 'react';
|
||||
|
||||
import { AdvancedMarkdown } from '../Markdown/AdvancedMarkdown';
|
||||
import { ExternalDocumentation } from '../ExternalDocumentation/ExternalDocumentation';
|
||||
import { AdvancedMarkdown } from '../Markdown/AdvancedMarkdown';
|
||||
|
||||
import { H1, H2, MiddlePanel, Row, Section, ShareLink } from '../../common-elements';
|
||||
import { ContentItemModel } from '../../services/MenuBuilder';
|
||||
|
@ -80,9 +80,13 @@ export class SectionItem extends React.Component<ContentItemProps> {
|
|||
</Row>
|
||||
<AdvancedMarkdown source={description || ''} htmlWrap={middlePanelWrap} />
|
||||
{externalDocs && (
|
||||
<p>
|
||||
<ExternalDocumentation externalDocs={externalDocs} />
|
||||
</p>
|
||||
<Row>
|
||||
<MiddlePanel>
|
||||
<p>
|
||||
<ExternalDocumentation externalDocs={externalDocs} />
|
||||
</p>
|
||||
</MiddlePanel>
|
||||
</Row>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user