Skip to content

The open alternative to Salesforce, designed for AI.

255 B
Raw Blame
export const serializeStyleDeclarationsToCssText = (
  cssValueByCssPropertyName: Record<string, string>,
): string =>
  Object.entries(cssValueByCssPropertyName)
    .map(([cssPropertyName, cssValue]) => `${cssPropertyName}:${cssValue}`)
    .join(';');