scrimba
Frontend Career Path
Advanced React
Reusability
Aside - Destructuring props
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Aside - Destructuring props
AboutCommentsNotes
Aside - Destructuring props
Expand for more info
Button.js
run
preview
console
import React from "react"

export default function Button(props) {
return (
<button {...props}>
{props.children}
</button>
)
}
Console
/index.html
-3:32