Files
frontend-app-authn/src/common-components/SmallScreenLayout.jsx
Mubbshar Anwar eaf3f1eba5 redesign base component (#232)
* redesign base component

* rebrand base component

* redesign base component

* rewrite & optimize base component

* redesign base component

* address feedback

Co-authored-by: Waheed Ahmed <waheed.ahmed@arbisoft.com>
2021-07-27 16:57:14 +05:00

22 lines
379 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
import SmallScreenHeader from './SmallScreenHeader';
const SmallScreenLayout = (props) => {
const { children } = props;
return (
<>
<SmallScreenHeader />
{ children }
</>
);
};
SmallScreenLayout.propTypes = {
children: PropTypes.node.isRequired,
};
export default SmallScreenLayout;