@netdata/netdata-ui
Version:
netdata UI kit
13 lines • 378 B
JavaScript
var justifyContentMap = {
start: "start",
center: "center",
end: "end",
between: "space-between",
around: "space-around",
evenly: "space-evenly",
stretch: "stretch"
};
export default (function (_ref) {
var justifyContent = _ref.justifyContent;
return justifyContent in justifyContentMap ? "justify-content: " + justifyContentMap[justifyContent] + ";" : "";
});