@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
25 lines (24 loc) • 581 B
TypeScript
import { SCEventType } from '@selfcommunity/types';
import { WidgetProps } from '../Widget';
export interface EventInfoWidgetProps extends WidgetProps {
/**
* Event Object
* @default null
*/
event?: SCEventType;
/**
* Id of event object
* @default null
*/
eventId?: number;
/**
* True if summary must be already expanded
* @default false
*/
summaryExpanded?: boolean;
/**
* Other props
*/
[p: string]: any;
}
export default function EventInfoWidget(inProps: EventInfoWidgetProps): JSX.Element;