Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@fenderdigital/react-placeholder

jemnon9UNLICENSED1.0.0

Fender React UI Kit Placeholder Component

react, css, library, components, interface, functional, OOCSS, declarative, ui, user, ux

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.