react-skele
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

react-skele

a simple react skeleton package inspired from the dvtng/react-loading-skeleton 🙌

install

npm i react-skele

usage

import Skeleton from 'react-skele'

<Skeleton />

props

props description default
count?: no. of skeletons to render 1
className?: additional classes to add to the skeleton
backgroundColor?: the background color of the skeleton "#f4f4f4"
highlightColor?: the moving highlight color of the skeleton "#e8e8e8"
height?: set custom height property to the skeleton
width?: set custom width property to the skeleton
borderRadius?: set custom border-radius property to the skeleton
display?: set custom display property to the skeleton "block"
isText?: render skeleton as an empty text to adapt the wrappers text styles false

Readme

Keywords

none

Package Sidebar

Install

npm i react-skele

Weekly Downloads

1

Version

1.1.3

License

none

Unpacked Size

133 kB

Total Files

8

Last publish

Collaborators

  • dhruwlalan