@hhgtech/hhg-components
Version:
Hello Health Group common components
17 lines (16 loc) • 752 B
TypeScript
import React, { CSSProperties } from 'react';
import { DataTrackingType } from "../../../../interfaces/types";
import { Topic } from "../../../interfaces/types";
export type Props = {
className?: string;
style?: CSSProperties;
communityId?: number;
isLoading?: boolean;
topics?: Topic[];
forceTopics?: Topic[];
selectedTopics?: Topic[];
disabled?: boolean;
onChange?: (v: Topic[]) => void;
noFetch?: boolean;
} & DataTrackingType;
export declare const TopicSelectList: ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled, forceTopics, selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }: Props) => React.JSX.Element;