@fenderdigital/react-placeholder
v1.0.0
Published
Fender React UI Kit Placeholder Component
Downloads
2
Readme
Placeholder for Fender React UI Kit
Description
A placeholder loader, for skeleton layouts.
Installation and Usage
yarn add @fenderdigital/react-placeholder --save
import 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.