mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
15 lines
307 B
TypeScript
15 lines
307 B
TypeScript
import React, { FunctionComponent } from 'react';
|
|
|
|
import { Pane, PaneBody, PaneHeader } from './pane';
|
|
|
|
interface Props {
|
|
type: 'request' | 'response';
|
|
}
|
|
|
|
export const BlankPane: FunctionComponent<Props> = ({ type }) => (
|
|
<Pane type={type}>
|
|
<PaneHeader />
|
|
<PaneBody placeholder />
|
|
</Pane>
|
|
);
|