@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
39 lines (32 loc) • 1.04 kB
TypeScript
import React from 'react';
interface FeedSkeletonMap {
/**
* Skeletons to render into sidebar
* @default <GenericSkeleton />
*/
sidebar?: React.ReactElement;
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
}
export type FeedSkeletonProps = React.PropsWithChildren<FeedSkeletonMap>;
/**
* > API documentation for the Community-JS Feed Skeleton component. Learn about the available props and the CSS API.
#### Import
```jsx
import {FeedSkeleton} from '@selfcommunity/react-ui';
```
#### Component Name
The name `SCFeed-skeleton-root` can be used when providing style overrides in the theme.
#### CSS
|Rule Name|Global class|Description|
|---|---|---|
|root|.SCFeed-skeleton-root|Styles applied to the root element.|
|left|.SCFeed-left|Styles applied to the left section.|
|right|.SCFeed-right|Styles applied to the right section.|
*
*/
export default function FeedSkeleton(props: FeedSkeletonProps): JSX.Element;
export {};