Process nested JSS objects and convert to CSS. Recursively finds objects with className or selector properties and converts them to CSS strings.
className
selector
The nested JSS object to process
CSS string with all converted styles
import * as Styles from '@universityofmaryland/web-styles-library';const css = Styles.utilities.transform.jss.processNestedJssObjects({ buttons: { primary: { className: 'btn-primary', color: 'red' } }}); Copy
import * as Styles from '@universityofmaryland/web-styles-library';const css = Styles.utilities.transform.jss.processNestedJssObjects({ buttons: { primary: { className: 'btn-primary', color: 'red' } }});
1.8.0
Process nested JSS objects and convert to CSS. Recursively finds objects with
classNameorselectorproperties and converts them to CSS strings.