Pass Function And Return Props From Component Codesandbox

Pass Function And Return Props From Component Codesandbox