import React from 'react'; import { InfinitySpin } from 'react-loader-spinner'; import styles from '../Loader/Loader.module.css'; export const Loader = () => { return ( <div className={styles.loader}> <InfinitySpin visible={true} width="200" color="#4fa94d" ariaLabel="infinity-spin-loading" /> </div> ); };
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter