aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant.tsx
blob: 907c42e7a7be37868d28cdae7a0f4fd696e32303 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import * as React from 'react';

import { ZeroExInstantContainer } from './zero_ex_instant_container';
import { ZeroExInstantProvider, ZeroExInstantProviderProps } from './zero_ex_instant_provider';

export type ZeroExInstantProps = ZeroExInstantProviderProps;

export const ZeroExInstant: React.StatelessComponent<ZeroExInstantProps> = props => {
    return (
        <ZeroExInstantProvider {...props}>
            <ZeroExInstantContainer />
        </ZeroExInstantProvider>
    );
};