@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
39 lines (32 loc) • 1.02 kB
TypeScript
import { SCFeedObjectTemplateType } from '../../types/feedObject';
import { CardProps } from '@mui/material';
export interface FeedObjectSkeletonProps extends CardProps {
/**
* Feed Object template type
* @default 'preview'
*/
template?: SCFeedObjectTemplateType;
/**
* Other props
*/
[p: string]: any;
}
/**
* > API documentation for the Community-JS Feed Object Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {FeedObjectSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCFeedObject-skeleton-root` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCFeedObject-skeleton-root|Styles applied to the root element.|
|media|.SCFeedObject-media|Styles applied to the media element.|
*
*/
export default function FeedObjectSkeleton(props: {
template?: SCFeedObjectTemplateType;
[p: string]: any;
}): JSX.Element;