Convert a CSS object to a CSS string value.
Similar to what React does when using a style object in a Component.
the CSS properties to convert
the CSS string value
import { styleToString } from "@trashpanda001/helpers/string"styleToString({ backgroundColor: "#000", position: "absolute" })// "background-color:#000;position:absolute" Copy
import { styleToString } from "@trashpanda001/helpers/string"styleToString({ backgroundColor: "#000", position: "absolute" })// "background-color:#000;position:absolute"
Convert a CSS object to a CSS string value.
Similar to what React does when using a style object in a Component.