UNPKG

@selfcommunity/react-ui

Version:

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

22 lines (21 loc) 617 B
import { UserInfoProps } from '../UserInfo'; import { BaseDialogProps } from '../../shared/BaseDialog'; import { SCUserType } from '@selfcommunity/types'; export interface UserInfoDialogProps extends Pick<BaseDialogProps, Exclude<keyof BaseDialogProps, 'title' | 'subtitle'>> { /** * Id of user object * @default null */ userId?: number; /** * User Object * @default null */ user?: SCUserType; UserInfoProps?: UserInfoProps; /** * Other props */ [p: string]: any; } export default function UserInfoDialog(inProps: UserInfoDialogProps): JSX.Element;