JSX Attributes

attr:*

Edit this page

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

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