JSX attributes

prop:*

Edit this page

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

<div prop:scrollTop={props.scrollPos + "px"} />
Strong-Typing Custom Properties

Type definitions are required when using TypeScript. See the TypeScript page for examples.

Report an issue with this page