In the example below, the height of thewill be slightly larger than 30 even though thereact-loading-skeletonelement is exactly 30px. <Skeletonheight={30}/> This is a consequence of howline-heightworks in CSS. If you need theto be exactly 30px tall, set itsline-heightto 1.See herefor...
Custom Layout: You provide a proplayoutto the component specifying the size of the bones (see theExamplessection below). Below is an example with a custom layout. A key prop for each child is optional but highly recommended. exportdefaultfunctionPlaceholder(){return(<SkeletonContentcontainerStyle=...