function-tree
Version:
When a function is not enough
15 lines (14 loc) • 504 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.string = exports.props = void 0;
var _Tag = require("../Tag");
var _ResolveValue = require("../ResolveValue");
var props = exports.props = (0, _Tag.createTemplateTag)('props', function (path, context) {
return (0, _ResolveValue.extractValueWithPath)(context.props, path);
});
var string = exports.string = (0, _Tag.createTemplateTag)('string', function (path) {
return path;
});
//# sourceMappingURL=index.js.map