const object2style = (object: Record): string => Object.entries(object) .map(([k, v]) => `${k}: ${v};`) .join(" "); export default object2style;