export type SubEntityTag = {
    id: number | string;
    label: string;
}

export type EntityTagsProps = {
    subEntityTagsList: SubEntityTag[];
    loading?: boolean;
    selectedSubEntity?: SubEntityTag;
    setSelectedSubEntity?: (subEntity: SubEntityTag) => void;
    defaultSelectedSubEntityId?: number | string;
    onSubEntityChange?: (subEntity: SubEntityTag) => void;
}

export type SubEntityTagsRef = {
    selectSubEntityById: (id: number | string) => void;
}
