score:1

Accepted answer
const Layout = (props) => {
  const { data } = props

  // `props` variable is still available here.

score:1

const Layout =  (...props, data) 

Related Query

More Query from same tag