Creates a JSS object with type checking.
Type extending JssEntry
The style object
The JSS object with the same type
import * as Styles from '@universityofmaryland/web-styles-library';Styles.create.jss.objectWithClassName({ color: 'red', className: 'my-class' }) Copy
import * as Styles from '@universityofmaryland/web-styles-library';Styles.create.jss.objectWithClassName({ color: 'red', className: 'my-class' })
1.1.0
Creates a JSS object with type checking.