PHP Classes

File: src/components/spinner/LoadingSpinner.tsx

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Maniruzzaman WordPress Frontend Editor   src/components/spinner/LoadingSpinner.tsx   Download  
File: src/components/spinner/LoadingSpinner.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Maniruzzaman WordPress Frontend Editor
WordPress plugin for visual front-end development
Author: By
Last change:
Date: 1 year ago
Size: 404 bytes
 

Contents

Class file image Download
export default function LoadingSpinner({ count }: { count: number}) { const skeletonCards = []; for (let i = 0; i < count; i++) { skeletonCards.push(<div key={i} className="card-skeleton" />); } return ( <div className="bsf-spacex-loading-spinner"> <div className="skeleton-loader"> {skeletonCards} </div> </div> ); }