insomnia/packages/insomnia-app/app/ui/components/panes/blank-pane.tsx

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