UNPKG

@hhgtech/hhg-components

Version:
47 lines (46 loc) 1.53 kB
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 ProfileDetail: ({ authorProps, selectedTab, authActionWrapper, onSkipQuestion, onCloseFromPost, hideQuestionTab, hideAnswerTab, showSkipQuestionTag, rolesToShowQuestionsTab, currentPageUrl, ...rest }: ProfileDetailProps) => React.JSX.Element; export { ProfileDetail };