@hhgtech/hhg-components
Version:
Hello Health Group common components
26 lines (25 loc) • 1.06 kB
TypeScript
import React from 'react';
import { Option } from "../../../../interfaces/types";
import { Topic } from "../../../interfaces/types";
import { Community } from "../../../interfaces/types";
export type Props = {
communitiesList: Community[];
currentCommunity: Community;
selectedTopics: Topic[];
forceTopics: Topic[];
communityValue: Option;
isMobile?: boolean;
isFullscreen?: boolean;
isInEditMode: boolean;
error?: Record<string, string>;
setSelectedTopics: (val: Topic[]) => void;
setCommunityValue: (val: any) => void;
onBack?: (val: boolean) => void;
removeKeyError?: (val: string) => void;
};
export type CommunityReviewProps = {
selectedTopics: Topic[];
currentCommunity: Community;
setSelectedTopics: (val: Topic[]) => void;
};
export declare const CreatePostCommunity: ({ communitiesList, currentCommunity, selectedTopics, forceTopics, communityValue, isFullscreen, isInEditMode, setSelectedTopics, setCommunityValue, removeKeyError, }: Props) => React.JSX.Element;