@hhgtech/hhg-components
Version:
Hello Health Group common components
22 lines (21 loc) • 782 B
TypeScript
/// <reference types="react" />
import { SiteType } from "../../../../interfaces/types";
import { CountProps, TabData } from "./types";
import { Props as CardAuthorProps } from "../cardAuthor";
export type ProfileDetailContextProps = {
authorId: string;
isAuthorLogin: boolean;
authActionWrapper: any;
countValues?: CountProps;
setCountValues?: (v: CountProps) => void;
onSkipQuestion?: (v: number) => void;
info?: TabData;
authorProps?: CardAuthorProps;
isMarryBaby?: boolean;
siteType?: SiteType;
showSkipQuestionTag?: boolean;
onClose?: () => void;
onCloseFromPost?: () => void;
currentPageUrl?: string;
};
export declare const ProfileDetailContext: import("react").Context<ProfileDetailContextProps>;