import { PROTECTED_TYPE, } from '../const';
import ColoredTag from '../colored-tag';
import ColoredTagGroup from '../colored-tag-group';
/**
 * 兼容旧版 wind 的 API
 */
// eslint-disable-next-line @typescript-eslint/naming-convention
export default function hocColorfulTag(Tag) {
    Tag.Colored = ColoredTag;
    Tag.ColoredGroup = ColoredTagGroup;
    // Add protected property as component identity
    Tag[PROTECTED_TYPE] = 'Tag';
    return Tag;
}
