import * as React from 'react'; import { ZeroExInstantContainer } from '../components/zero_ex_instant_container'; import { MAIN_CONTAINER_DIV_CLASS, OVERLAY_CLOSE_BUTTON_DIV_CLASS, OVERLAY_DIV_CLASS } from '../constants'; import { ColorOption } from '../style/theme'; import { Container } from './ui/container'; import { Flex } from './ui/flex'; import { Icon } from './ui/icon'; import { Overlay } from './ui/overlay'; import { ZeroExInstantProvider, ZeroExInstantProviderProps } from './zero_ex_instant_provider'; export interface ZeroExInstantOverlayProps extends ZeroExInstantProviderProps { onClose?: () => void; zIndex?: number; } export const ZeroExInstantOverlay: React.StatelessComponent = props => { const { onClose, zIndex, ...rest } = props; return ( ); };