@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
33 lines (32 loc) • 728 B
TypeScript
import { SCContributionType, SCFeedObjectType } from '@selfcommunity/types';
export interface ShareDialogProps {
/**
* Feed object id
* @default null
*/
id?: number;
/**
* Feed object
* @default null
*/
feedObject?: SCFeedObjectType;
/**
* Feed object type
* @default 'post' type
*/
feedObjectType?: Exclude<SCContributionType, SCContributionType.COMMENT>;
/**
* Opens dialog
* @default false
*/
open: boolean;
/**
* On dialog close callback function
*/
onClose: () => any;
/**
* Any other properties
*/
[p: string]: any;
}
export default function SharesDialog(props: ShareDialogProps): JSX.Element;