@hhgtech/hhg-components
Version:
Hello Health Group common components
16 lines (15 loc) • 597 B
TypeScript
import React, { HTMLAttributes } from 'react';
import { SiteType } from "../../../../interfaces/types";
import { Post } from "../../../interfaces/types";
export type Props = {
post: Post;
siteType?: SiteType;
btnText?: string;
currentPageUrl?: string;
onSkip?: ({ id, communityId, }: {
id: string | number;
communityId: string | number;
}) => void;
} & HTMLAttributes<HTMLDivElement>;
declare const SkipQuestionOfExpertBtn: ({ post, onSkip, btnText, currentPageUrl, ...rest }: Props) => React.JSX.Element;
export { SkipQuestionOfExpertBtn };