chore: rename component from Strong to Code

This commit is contained in:
Anya Stasiuk 2020-09-03 14:17:50 +03:00
parent cb36eecc26
commit e2e03313b2
2 changed files with 3 additions and 3 deletions

View File

@ -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>
);

View File

@ -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;
`;