UNPKG

@hhgtech/hhg-components

Version:
22 lines (21 loc) 868 B
import React, { CSSProperties } from 'react'; import { DataTrackingType } from "../../../../../interfaces/types"; import { Topic } from "../../../../interfaces/types"; export type CategoryTopic = { category_id: number; name: string; id: number; }; export type Props = { className?: string; style?: CSSProperties; communityId?: number; isLoading?: boolean; topics?: Topic[]; forceTopics?: Topic[]; selectedTopics?: (CategoryTopic | Topic)[]; disabled?: boolean; onChange?: (v: CategoryTopic[]) => void; noFetch?: boolean; } & DataTrackingType; export declare const TopicSelectList: ({ className, style, topics: topicsProp, communityId, onChange, isLoading, disabled, selectedTopics: selectedTopicsProp, noFetch, dataEventCategory, dataEventAction, dataEventLabel, }: Props) => React.JSX.Element;