Socket
Book a DemoInstallSign in
Socket

logoloader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

logoloader

A custom React preloader component

unpublished
latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Logoloader

A custom preloader component for React and Next.js

Note: This package is for personal testing and learning purposes. It may not be suitable for production use.

Installation

Install the Logoloader package from npm:

npm install remcostoeten/logoloader

Usage

Import the Logoloader component and use it in your React or Next.js application:

import Logoloader from 'logoloader';
import { ReactComponent as MySvg } from './mySvg.svg';

function MyComponent() {
	return (
		<div>
			<Logoloader word="Hello" delay={3000} svgComponent={<MySvg />} />
		</div>
	);
}

export default MyComponent;

Props

The Logoloader component accepts the following props:

  • word (string, required): The word to display in the preloader.
  • delay (number, required): The delay in milliseconds before showing the animation.
  • svgComponent (ReactNode, required): The SVG component to display alongside the word.

License

Keywords

react

FAQs

Package last updated on 27 May 2023

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.