UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

11 lines (10 loc) 219 B
export function setRef(ref, value) { if (typeof ref === 'function') { ref(value); } else if (ref) { //@ts-expect-error ref.current = value; } } //# sourceMappingURL=setRef.js.map