@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
37 lines (36 loc) • 968 B
TypeScript
import { CacheStrategies } from '@selfcommunity/utils';
import { SCContributionType, SCFeedObjectType } from '@selfcommunity/types';
export interface ContributorsFeedObjectProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* feedObjectId object
*/
feedObjectId?: number;
/**
* feedObject object
*/
feedObject?: SCFeedObjectType;
/**
* feedObjectType
*/
feedObjectType: Exclude<SCContributionType, SCContributionType.COMMENT>;
/**
* AvatarGroupSkeleton props
* @default {count: 3}
*/
ContributorsSkeletonProps?: any;
/**
* Caching strategies
* @default CacheStrategies.CACHE_FIRST
*/
cacheStrategy?: CacheStrategies;
/**
* Any other properties
*/
[p: string]: any;
}
export default function ContributorsFeedObject(props: ContributorsFeedObjectProps): JSX.Element;