Creates a stylesheet string from a JSS object.
Object of CSS properties
Configuration options
Optional
Whether to format the CSS with line breaks and indentation (default: false)
The stylesheet string with converted properties
import * as Styles from '@universityofmaryland/web-styles-library';await Styles.utilities.create.style.toString({ ...Styles.element, ...Styles.layout.grid,}) Copy
import * as Styles from '@universityofmaryland/web-styles-library';await Styles.utilities.create.style.toString({ ...Styles.element, ...Styles.layout.grid,})
1.2.0
Creates a stylesheet string from a JSS object.