I’m having trouble figuring out how to properly format the marginLeft value in my code. I’ve tried various methods, but haven’t been successful yet. Can someone please provide assistance on escaping the dash when defining properties this way? If it’s not feasible at all, kindly let me know as well. Thank you.
import React from "react";
const informationStyle = {
fontSize: "0.6rem",
marginLeft: "get-spacing(small)"
};
const Information = () => (
<span style={informationStyle}>
<svg className="cp-icon-svg cp-icon-circle" /></svg>
</span>
);
export default Information;