Atribut Sintaks Sama dengan Name React

const x = 42;
const elm = <MyComponent {...{x}} />;
Inexpensive Ibis