/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import {Button, styled, Layout, Spacer} from 'flipper'; import {ManageMockResponsePanel} from './ManageMockResponsePanel'; import {Route, Requests} from './types'; import React from 'react'; import {NetworkRouteContext} from './index'; import {useContext} from 'react'; type Props = { routes: {[id: string]: Route}; onHide: () => void; highlightedRows: Set | null | undefined; requests: Requests; }; const Title = styled('div')({ fontWeight: 500, marginBottom: 10, marginTop: 8, }); const StyledContainer = styled(Layout.Container)({ padding: 10, width: 1200, }); export function MockResponseDialog(props: Props) { const networkRouteManager = useContext(NetworkRouteContext); return ( Mock Network Responses ); }