Add styles to react using style

Write the style name in the form of camelcase nomenclature, and the attribute value is of type number

style={ { marginRight: 130 }}

Guess you like

Origin blog.csdn.net/m0_46442996/article/details/109385750