# All files / components/ConversationList Loadable.js

50% Statements 2/4
100% Branches 0/0
0% Functions 0/2
66.67% Lines 2/3

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15

    1x

    1x

     import React from 'react';
    import path from 'path';
    import Loadable from 'react-loadable';
    import LoadingComponent from '../Loading';

    const LoadableConversationList = Loadable({
      loader: () => import('./index'),
      loading: LoadingComponent,
      serverSideRequirePath: path.resolve(__dirname, './index'),
    });

    const ConversationList = (props) => (<LoadableConversationList {...props} />);

    export default ConversationList;