2.0.1 • Published 8 years ago
fyndiq-icon-loader v2.0.1
fyndiq-icon-loader 
A Loader icon for Fyndiq
Installation
The component can be installed through NPM:
npm i -S fyndiq-icon-loaderUsage
import React from 'react'
import Loader from 'fyndiq-icon-loader'
// Basic usage
<Loader />
// Change the size
<Loader size={50} />
// Change the colors
<Loader color1="black" color2="white" />
// Change the wave properties
<Loader waveAmplitude={40} waveLength={50} />API
The icon Loader has the following customizable props:
| Name | Type | Description | Default value |
|---|---|---|---|
| size | Number | Size of the logo | 50 |
| className | String | Class for advanced styling | '' |
| color1 | String | First color of the loader | red |
| color2 | String | Second color of the loader | blue |
| waveLength | Number | Wavelength of the wave | 80 |
| waveAmplitude | Number | Amplitude of the wave | 25 |