UNPKG

@prismicio/client

Version:

The official JavaScript + TypeScript client library for Prismic

15 lines (14 loc) 408 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const getOptionalLinkProperties = (input) => { const res = {}; if ("text" in input) { res.text = input.text; } if ("variant" in input) { res.variant = input.variant; } return res; }; exports.getOptionalLinkProperties = getOptionalLinkProperties; //# sourceMappingURL=getOptionalLinkProperties.cjs.map