Sha256: 0577213f8527671bfe3e634123bbd96291b089d72ae2de68b6869625270c9496

Contents?: true

Size: 310 Bytes

Versions: 181

Compression:

Stored size: 310 Bytes

Contents

import React from 'react';
import Header from '../Application/Headers';

function withHeader(WrappedComponent, tags) {
  const Headers = props => (
    <React.Fragment>
      <Header {...tags} />
      <WrappedComponent {...props} />
    </React.Fragment>
  );

  return Headers;
}

export default withHeader;

Version data entries

181 entries across 181 versions & 1 rubygems

Version Path
katello-3.9.0.rc1 webpack/containers/Application/withHeaders.js