@hhgtech/hhg-components
Version:
Hello Health Group common components
16 lines (15 loc) • 529 B
TypeScript
import React, { CSSProperties, HTMLAttributes } from 'react';
import { Post } from "../../../../../interfaces/types";
export type Props = {
post: Post;
className?: string;
style?: CSSProperties;
bannedWords?: string[];
value?: string;
onSkip?: ({ id, communityId, }: {
id: string | number;
communityId: string | number;
}) => void;
} & HTMLAttributes<HTMLDivElement>;
declare const QuestionCard: ({ post, ...rest }: Props) => React.JSX.Element;
export { QuestionCard };