"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
exports.FeatureFlag = function (_a) {
    var sdk = _a.sdk, feature = _a.feature, children = _a.children;
    if (sdk.featureFlagsService.isEnabled(feature)) {
        return react_1.default.createElement(react_1.default.Fragment, null, children);
    }
    return null;
};
//# sourceMappingURL=FeatureFlag.js.map