Prop

prop:*

Forces the prop to be treated as a property instead of an attribute.

1
<div prop:scrollTop={props.scrollPos + "px"} />

Комментарии