attr:*
Edit this pageForces 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} />
Strong-Typing Custom Attributes
Type definitions are required when using TypeScript. See theTypeScript page for examples.