UNPKG

@atlaskit/tag

Version:

A tag labels UI objects for quick recognition and navigation.

17 lines (15 loc) • 464 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.markAsTagMotionCapable = markAsTagMotionCapable; var tagMotionCapability = Symbol.for('@atlaskit/tag/motion-capable'); /** * Marks public Tag component wrappers that render TagMotion when the motion feature gate is enabled. */ function markAsTagMotionCapable(component) { Object.defineProperty(component, tagMotionCapability, { value: true }); return component; }