"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.findRef = void 0;
function findRef(component, name) {
    let c = component;
    while (c) {
        if (c.$ref[name]) {
            return c.$ref[name];
        }
        c = c.$slotParent;
    }
    return null;
}
exports.findRef = findRef;
//# sourceMappingURL=findRef.js.map