@fenderdigital/react-placeholder

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i @fenderdigital/react-placeholder

Weekly Downloads

0

Version

1.0.0

License

UNLICENSED

Unpacked Size

8.12 kB

Total Files

6

Last publish

Collaborators

  • stevenhuynh
  • markv242
  • coopercodecomposer
  • sherbert
  • jcuanan
  • derduher
  • philipyun
  • theloopla
  • jemnon