mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +03:00
chore: rename component from Strong to Code
This commit is contained in:
parent
cb36eecc26
commit
e2e03313b2
|
@ -1,6 +1,6 @@
|
|||
import * as React from 'react';
|
||||
|
||||
import { Strong } from './styled.elements';
|
||||
import { Code } from './styled.elements';
|
||||
import { ShelfIcon } from '../../common-elements';
|
||||
import { Markdown } from '../Markdown/Markdown';
|
||||
|
||||
|
@ -32,7 +32,7 @@ export class ResponseTitle extends React.PureComponent<ResponseTitleProps> {
|
|||
float={'left'}
|
||||
/>
|
||||
)}
|
||||
<Strong>{code} </Strong>
|
||||
<Code>{code} </Code>
|
||||
<Markdown compact={true} inline={true} source={title} />
|
||||
</button>
|
||||
);
|
||||
|
|
|
@ -50,6 +50,6 @@ export const HeadersCaption = styled(UnderlinedHeader.withComponent('caption'))`
|
|||
caption-side: top;
|
||||
`;
|
||||
|
||||
export const Strong = styled.strong`
|
||||
export const Code = styled.strong`
|
||||
vertical-align: top;
|
||||
`;
|
||||
|
|
Loading…
Reference in New Issue
Block a user