@hackoregon/mock-wrapper
Version:
A simple way to wrap a project as if it is in a year package
17 lines (12 loc) • 319 B
JavaScript
import React from "react";
import PropTypes from "prop-types";
import { connect } from "react-redux";
export const RootPage = ({ children }) => <div>{children}</div>;
RootPage.propTypes = {
children: PropTypes.node
};
RootPage.displayName = "Root";
export default connect(
() => ({}),
() => ({})
)(RootPage);