1.0.0 • Published 7 years ago
@fenderdigital/react-placeholder v1.0.0
Placeholder for Fender React UI Kit
Description
A placeholder loader, for skeleton layouts.
Installation and Usage
yarn add @fenderdigital/react-placeholder --saveimport Placeholder from '@fenderdigital/react-placeholder';Props
aspectRatio- Dimensions of the component that are configurable via tachyon aspect ratio classes.ease- css animation easing type.endColor- tachyon class for its ending animation color.startColor- tachyon class for its starting animation color.
| propName | propType | defaultValue | isRequired |
|---|---|---|---|
| aspectRatio | string | 16x9 | - |
| ease | string | ease-in-out | - |
| endColor | string | light-gray | - |
| startColor | string | near-gray | - |
Development
Check the Monorepo README for development documentation.
1.0.0
7 years ago