🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

loading-skeleton-react

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loading-skeleton-react

React Loading Skeletons is a package for loading skeleton for your website

0.0.1
latest
npm
Version published
Maintainers
1
Created
Source
  npm i loading-skeleton-react
  pnpm i loading-skeleton-react
  yarn i loading-skeleton-react
// App.jsx;
import { Skeleton } from "loading-skeleton-react"
import "loading-skeleton-react/dist/index.css";

import Component from "@/component/component"


const App = () => {
  const [loading, setLoading] = useState(undefined)

 
  return (
    <>
      {loading ? 
        <Skeleton mode="dark"  />
       : (
        <Component />
       )}
    </>
  );
}
 
export default App;

Keywords

loading-skeleton, React-skeleton

FAQs

Package last updated on 24 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts