UNPKG

@lanaco/lnc-react-ui

Version:

React component library

6 lines (5 loc) 626 B
"use strict";const e=require("react/jsx-runtime"),r=require("react"),s=require("./style-17Ie7d9D.cjs"),c=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),u=c.styled(s.SkeletonAnimationContainer)` @media ${l.down("S")} { flex-direction: column; } `,a=({keyPrefix:t})=>e.jsx(u,{children:[1,2,3].map(n=>e.jsx(s.SkeletonRect,{width:"100%",height:"23rem"},`${t}-${n}`))}),d=({keyPrefix:t,isLoading:n=!1,fallbackComponent:o=e.jsx(e.Fragment,{}),children:i})=>e.jsx(r.Suspense,{fallbackComponent:o,children:n===!0?e.jsx(a,{keyPrefix:t}):i});exports.SuspenseBlogsSectionDetailed=d;