<Skeleton />
width
: String, defaults to 100%
<Skeleton width="80%" />
Used to set the width of skeleton.
height
: String, defaults to 30px
<Skeleton height="500px" />
Used to set the width of skeleton.
borderRadius
: String, defaults to 4px
<Skeleton borderRadius="10px" />
Used to set the borderRadius of skeleton.
count
: Number, defaults to 1
<Skeleton count={3} />
Used to set how many lines will be generate.
spaceBetween
: String, defaults to 10px
<Skeleton spaceBetween="20px" />
Used to set the space that will be generate each lines if count > 1
widthMultiple
: String, defaults to undefined
<Skeleton widthMultiple=["100px", "200px", "300px"] />
Used to set the width for each skeleton if count > 1
heightMultiple
: String, defaults to undefined
<Skeleton heightMultiple=["100px", "200px", "300px"] />
Used to set the height for each skeleton if count > 1
-
DataTestId
dataTestId
: String, defaults to Skeleton
<Skeleton dataTestId="anyTestId" />
used for test component.
Used to set the width of skeleton.