PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.0.1
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.0.1
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / wizard / assets / src / wizard-steps / skeletons / GlobalFlowLibrarySkeleton.js

GlobalFlowLibrarySkeleton.js in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.0.1, at wizard/assets/src/wizard-steps/skeletons/GlobalFlowLibrarySkeleton.js

51 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import React from 'react';
2 import './GlobalFlowLibrarySkeleton.scss';
3
4 function GlobalFlowLibrarySkeleton() {
5 const createBlocks = () => {
6 const block = [];
7
8 for ( let i = 0; i < 4; i++ ) {
9 block.push(
10 <div className="wcf-item" key={ i }>
11 <div className="wcf-item__thumbnail-wrap">
12 <div
13 className="wcf-skeleton wcf-skeleton--rect wcf-skeleton--wave"
14 style={ { height: '240px' } }
15 ></div>
16 </div>
17 <div className="wcf-item__heading-wrap">
18 <div
19 className="wcf-skeleton wcf-skeleton--rect wcf-skeleton--wave"
20 style={ { width: '100%', height: '35px' } }
21 ></div>
22 </div>
23 </div>
24 );
25 }
26 return block;
27 };
28
29 return (
30 <>
31 <div className="wcf-row mt-12">
32 <div className="px-6 py-5 sm:px-9 sm:py-8">
33 <div
34 className="wcf-skeleton wcf-skeleton--rect wcf-skeleton--wave mx-auto"
35 style={ {
36 width: '60%',
37 height: '35px',
38 background: 'rgba(0, 0, 0, 0.11)',
39 } }
40 ></div>
41 </div>
42 </div>
43 <div className="wcf-flow-importer__list wcf-items-list wcf-flow-row is-placeholder grid grid-cols-4 gap-6 overflow-hidden">
44 { createBlocks() }
45 </div>
46 </>
47 );
48 }
49
50 export default GlobalFlowLibrarySkeleton;
51