UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

38 lines (37 loc) 863 B
import { SCContributionType, SCFeedObjectType } from '@selfcommunity/types'; export interface FollowProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Feed object id * @default null */ feedObjectId?: number; /** * Feed object * @default null */ feedObject?: SCFeedObjectType; /** * Feed object type * @default 'post' type */ feedObjectType?: Exclude<SCContributionType, SCContributionType.COMMENT>; /** * Handle follow object * @param isFollow */ handleFollow: (isFollow: any) => void; /** * Iconized Button */ iconized?: boolean; /** * Any other properties */ [p: string]: any; } export default function Follow(props: FollowProps): JSX.Element;