@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
50 lines (43 loc) • 1.44 kB
TypeScript
import { GridProps } from '@mui/material';
export interface EventsSkeletonProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
EventSkeletonProps?: any;
/**
* Props spread to grid container
* @default {}
*/
GridContainerComponentProps?: Pick<GridProps, Exclude<keyof GridProps, 'container' | 'component' | 'children' | 'item' | 'classes'>>;
/**
* Props spread to single grid item
* @default {}
*/
GridItemComponentProps?: Pick<GridProps, Exclude<keyof GridProps, 'container' | 'component' | 'children' | 'item' | 'classes'>>;
/**
* @default 20
*/
eventsNumber?: number;
}
/**
* > API documentation for the Community-JS Groups Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {EventsSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCEvents-skeleton-root` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCEvents-skeleton-root|Styles applied to the root element.|
|events|.SCEvents-skeleton-events|Styles applied to the group elements.|
*
*/
export default function EventsSkeleton(inProps: EventsSkeletonProps): JSX.Element;