18F/identity-idp

View on GitHub
app/javascript/packages/document-capture/higher-order/with-props.jsx

Summary

Maintainability
A
0 mins
Test Coverage
function withProps(boundProps) {
  return (Component) => (props) => <Component {...boundProps} {...props} />;
}

export default withProps;