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>
This commit is contained in:
Mubbshar Anwar
2021-04-13 12:59:30 +05:00
committed by Waheed Ahmed
parent f3721b5db2
commit eaf3f1eba5
14 changed files with 356 additions and 8 deletions

View File

@@ -0,0 +1,21 @@
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;