- Move the
Props
CSS writing into aProps.CSS
func, so it can be used in isolation of theStyle
struct. This allows for theProps
CSS to be used in other contexts, such as in astyle
attribute in HTML. - Don't write empty values in the CSS string. eg:
.test{}
will not be written if there are no props to write.