mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 07:03:38 +00:00
Add Loadable to inputs
This commit is contained in:
parent
7333116119
commit
1543160819
@ -0,0 +1,8 @@
|
||||
import Loadable from 'react-loadable';
|
||||
|
||||
import LoadingIndicator from 'components/LoadingIndicator';
|
||||
|
||||
export default Loadable({
|
||||
loader: () => import('./index'),
|
||||
loading: LoadingIndicator,
|
||||
});
|
||||
@ -0,0 +1,8 @@
|
||||
import Loadable from 'react-loadable';
|
||||
|
||||
import LoadingIndicator from 'components/LoadingIndicator';
|
||||
|
||||
export default Loadable({
|
||||
loader: () => import('./index'),
|
||||
loading: LoadingIndicator,
|
||||
});
|
||||
@ -0,0 +1,8 @@
|
||||
import Loadable from 'react-loadable';
|
||||
|
||||
import LoadingIndicator from 'components/LoadingIndicator';
|
||||
|
||||
export default Loadable({
|
||||
loader: () => import('./index'),
|
||||
loading: LoadingIndicator,
|
||||
});
|
||||
@ -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;
|
||||
}
|
||||
`;
|
||||
|
||||
@ -4,7 +4,7 @@ const Remove = FilterOptionsCTA.extend`
|
||||
&:after {
|
||||
content: '\f068';
|
||||
font-family: FontAwesome;
|
||||
font-size: 9px;
|
||||
font-size: 8px;
|
||||
color: #007EFF;
|
||||
}
|
||||
`;
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -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;
|
||||
`;
|
||||
|
||||
|
||||
@ -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';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user