Socket
Book a DemoInstallSign in
Socket

@commercetools-uikit/loading-spinner

Package Overview
Dependencies
Maintainers
3
Versions
963
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-uikit/loading-spinner

## Description

Source
npmnpm
Version
10.24.0
Version published
Weekly downloads
5K
14.35%
Maintainers
3
Weekly downloads
 
Created
Source

LoadingSpinner

Description

A spinner animation to show the user some information is loading

Usage

import { LoadingSpinner } from '@commercetools-frontend/ui-kit';

<LoadingSpinner size="s">{'Loading'}</LoadingSpinner>;

Properties

PropsTypeRequiredValuesDefaultDescription
scalestring's', 'l'lDefines the size of the loading spinner's container
childrenstring--Used as the text for the loader

Main Functions and use cases are:

  • When fetching requests or processing data

FAQs

Package last updated on 10 Jul 2020

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