Exemplo de componente do operador JS espalhado
const engine = { href: "http://google.com", src: "google.png" };
<Y {...engine} />
// This is equivalent to doing:
<Y href={engine.href} src={engine.src} />
Puzzled Puffin