Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

BU Loading Spinner

Status: BETA

Loading Spinner Component Example

A loading spinner to be used to indicate some activity is occuring.

Extends the core <Spinner /> component so that it can include some text, a background, and an optional shadow for placing the this Loading indicator as an absolutely positioned element covering some content.

Usage

import { LoadingSpinner } from '@bostonuniversity/block-components';
{ isLoading && (
 <LoadingSpinner
  text="Loading" // Default is undefined.
  shadow={false} // Default is true.
  className="a-custom-classname-to-add"
 />
)}