@hhgtech/hhg-components
Version:
Hello Health Group common components
47 lines (46 loc) • 1.48 kB
TypeScript
import React, { CSSProperties, HTMLAttributes } from 'react';
import { SiteType } from "../../../../interfaces/types";
import { Role } from "../../../../interfaces/types";
import { Props as CardAuthorProps } from "../cardAuthor";
export type ProfileDetailProps = {
id?: string | number;
style?: CSSProperties;
bannedWords?: string[];
value?: string;
onChange?: (v: string) => void;
onSkipQuestion?: (v: number) => void;
authorProps?: CardAuthorProps;
selectedTab?: TabName;
role?: Role;
loginRole?: string;
authActionWrapper?: any;
onClose?: () => void;
onCloseFromPost?: () => void;
onChatWithBot?: () => void;
siteType?: SiteType;
hideQuestionTab?: boolean;
hideAnswerTab?: boolean;
showSkipQuestionTag?: boolean;
rolesToShowQuestionsTab?: Role[];
currentPageUrl?: string;
} & HTMLAttributes<HTMLDivElement>;
export declare enum TabName {
About = 0,
Care = 1,
Answer = 2,
Posts = 3
}
export declare enum UserType {
Expert = 0,
User = 1
}
export declare const TabDataInit: {
experiences: any[];
relatedPosts: any[];
educations: any[];
awards: any[];
contact: {};
data: {};
};
declare const ProfileChatbot: ({ authorProps, authActionWrapper, onSkipQuestion, onCloseFromPost, onChatWithBot, showSkipQuestionTag, currentPageUrl, ...rest }: ProfileDetailProps) => React.JSX.Element;
export { ProfileChatbot };