UNPKG

@atlaskit/tag

Version:

A tag labels UI objects for quick recognition and navigation.

11 lines (10 loc) • 336 B
const tagMotionCapability = Symbol.for('@atlaskit/tag/motion-capable'); /** * Marks public Tag component wrappers that render TagMotion when the motion feature gate is enabled. */ export function markAsTagMotionCapable(component) { Object.defineProperty(component, tagMotionCapability, { value: true }); return component; }