@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
26 lines (25 loc) • 723 B
TypeScript
import { SCUserType } from '@selfcommunity/types';
import { SCUserProfileFields } from '../../../../types/user';
export interface ProfileProps {
/**
* Overrides or extends the styles applied to the component.
* @default null
*/
className?: string;
/**
* User fields to display in the profile
* @default [real_name, date_joined, date_of_birth, website, description, bio]
*/
fields?: SCUserProfileFields[];
/**
* User Object
* @default null
*/
user?: SCUserType;
/**
* Callback triggered on complete action click
* @default null
*/
onCompleteAction: () => void;
}
export default function Profile(inProps: ProfileProps): JSX.Element;