mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-10 07:58:26 +01:00
16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
import React from 'react';
|
|
import CodeEditor from 'components/CodeEditor';
|
|
import StyledWrapper from './StyledWrapper';
|
|
|
|
const QueryResult = ({value, width}) => {
|
|
return (
|
|
<StyledWrapper className="mt-4 px-3 w-full" style={{maxWidth: width}}>
|
|
<div className="h-full">
|
|
<CodeEditor value={value || ''} />
|
|
</div>
|
|
</StyledWrapper>
|
|
);
|
|
};
|
|
|
|
export default QueryResult;
|