Add Loadable to inputs

This commit is contained in:
soupette 2018-05-18 10:58:51 +02:00
parent 7333116119
commit 1543160819
9 changed files with 31 additions and 6 deletions

View File

@ -0,0 +1,8 @@
import Loadable from 'react-loadable';
import LoadingIndicator from 'components/LoadingIndicator';
export default Loadable({
loader: () => import('./index'),
loading: LoadingIndicator,
});

View File

@ -0,0 +1,8 @@
import Loadable from 'react-loadable';
import LoadingIndicator from 'components/LoadingIndicator';
export default Loadable({
loader: () => import('./index'),
loading: LoadingIndicator,
});

View File

@ -0,0 +1,8 @@
import Loadable from 'react-loadable';
import LoadingIndicator from 'components/LoadingIndicator';
export default Loadable({
loader: () => import('./index'),
loading: LoadingIndicator,
});

View File

@ -4,7 +4,8 @@ const Add = FilterOptionsCTA.extend`
&:after {
content: '\f067';
font-family: FontAwesome;
font-size: 9px;
font-size: 8px;
font-weight: 400;
color: #007EFF;
}
`;

View File

@ -4,7 +4,7 @@ const Remove = FilterOptionsCTA.extend`
&:after {
content: '\f068';
font-family: FontAwesome;
font-size: 9px;
font-size: 8px;
color: #007EFF;
}
`;

View File

@ -7,8 +7,8 @@
import React from 'react';
import PropTypes from 'prop-types';
import InputSelect from 'components/InputSelect';
import InputText from 'components/InputText';
import InputSelect from 'components/InputSelect/Loadable';
import InputText from 'components/InputText/Loadable';
import Add from './Add';
import Div from './Div';

View File

@ -7,7 +7,7 @@ const FilterOptionsCTA = styled.button`
width: 20px;
margin: 14px 10px 0px 0px;
border-radius: 50%;
border: 2px solid #E3E9F3;
border: 1px solid #E3E9F3;
cursor: pointer;
`;

View File

@ -14,7 +14,7 @@ import FilterOptions from 'components/FilterOptions/Loadable';
// ./node_modules/strapi-helper-plugin/lib/src
// or strapi/packages/strapi-helper-plugin/lib/src
import PluginHeader from 'components/PluginHeader';
import SlideDown from 'components/SlideDown/Loadable';
import SlideDown from 'components/SlideDown';
import Div from './Div';