@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
14 lines (12 loc) • 354 B
JavaScript
//#region src/core/css/transform.ts
function transform(value, { prev, properties }) {
const result = {};
properties?.forEach((property) => {
result.transform = [prev?.transform ?? "", `var(${property})`].join(" ");
result[property] = value;
});
return result;
}
//#endregion
exports.transform = transform;
//# sourceMappingURL=transform.cjs.map