Need private packages and team management tools?Check out npm Teams »

@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.

Install

npm i @fenderdigital/react-placeholder

DownloadsWeekly Downloads

5

Version

1.0.0

License

UNLICENSED

Unpacked Size

8.12 kB

Total Files

6

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar