Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Latest commit

 

History

History

Loader

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Loader

Loader component is a wrapper of React Lottie.

Example

import React from 'react';
import { Loader } from '@afconsult/apollo';

const Example = () => <Loader width={25} height={25} />;

Props

Name PropType Default Description
autoPlay bool true Bodymovin option to auto plays the animation.
height [number, string] 250 Pixel value for lottie container height.
loop bool true Bodymovin option to loop the animation.
width [number, string] 250 Pixel value for lottie container width.