Interface for a class Skeleton
string
Defines single/multiple classes (separated by space) to be used for customization of Skeleton.
boolean
Enable or disable persisting component’s state between page reloads.
boolean
Enable or disable rendering component in right to left direction.
string
| number
Defines the height of the Skeleton. Height is not required when shape is “Circle” and “Square”.
string
Defines the ‘aria-label’ for Skeleton accessibility.
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
string
| SkeletonType
Defines the shape of the Skeleton.
import * as React from 'react';
import './style.css';
import { SkeletonComponent } from '@syncfusion/ej2-react-notifications';
export default function App() {
return (
<div>
<SkeletonComponent shape='Circle' width='48px'></SkeletonComponent>
</div>
);
}
string
| ShimmerEffect
Defines the animation effect of the Skeleton.
import * as React from 'react';
import './style.css';
import { SkeletonComponent } from '@syncfusion/ej2-react-notifications';
export default function App() {
return (
<div>
<SkeletonComponent shape='Circle' width='48px' shimmerEffect='Pulse'></SkeletonComponent>
</div>
);
}
boolean
Defines the visibility state of Skeleton.
string
| number
Defines the width of the Skeleton. Width will be prioritized and used as dimension when shape is “Circle” and “Square”.