Skeleton / Dev

Install

yarn add @ntds/skeleton

Import

import { Skeleton } from '@ntds/skeleton';

Props

Skeleton

PropType & Description
twHeight
string

Skeleton height

twWidth
string

Skeleton width

noAnimation
boolean

When this prop is set to true, it deactivates the skeleton animation

animationDuration
string

This prop specifies the duration of the skeleton animation. It determines how long the animation will take to complete. You can use it to control the speed of the animation by specifying a time value

This guide is based on version: 1.0.2