1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00
planka/client/src/components/FixedWrapper/FixedWrapper.jsx

25 lines
547 B
React
Raw Normal View History

import React from 'react';
import PropTypes from 'prop-types';
import HeaderContainer from '../../containers/HeaderContainer';
import ProjectContainer from '../../containers/ProjectContainer';
import styles from './FixedWrapper.module.css';
const FixedWrapper = ({ projectId }) => (
<div className={styles.wrapper}>
<HeaderContainer />
{projectId && <ProjectContainer />}
</div>
);
FixedWrapper.propTypes = {
projectId: PropTypes.string,
};
FixedWrapper.defaultProps = {
projectId: undefined,
};
export default FixedWrapper;