index.js 384 Bytes
Newer Older
FE committed
1 2 3 4 5 6 7 8 9 10
import React, { Component } from 'react';
import './index.scss';


function ListFrame(WrappedComponent) {
  return class extends Component {
    render() {
      return (
        <div className="list-frame">
          <div className="list-frame__content">
FE committed
11
            <WrappedComponent {...this.props}/>
FE committed
12 13 14 15 16 17 18 19
          </div>
        </div>
      )
    }
  };
}

export default ListFrame;