JSX Attributes

attr:*

Edit this page

Forces the prop to be treated as a attribute instead of an property. Useful for Web Components where you want to set attributes.

<my-element attr:status={props.status} />
Report an issue with this page