/**
 * Accessor-or-value shape. Passing an accessor lets the option be
 * reactively read at the use site; passing a bare value keeps the
 * 1:1 ergonomics of the React source.
 */

export function readOption(value) {
  return typeof value === "function" ? value() : value;
}
//# sourceMappingURL=maybe-accessor.jsx.map
