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/Fixed/Fixed.jsx

25 lines
513 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 './Fixed.module.scss';
const Fixed = ({ projectId }) => (
<div className={styles.wrapper}>
<HeaderContainer />
{projectId && <ProjectContainer />}
</div>
);
Fixed.propTypes = {
projectId: PropTypes.string,
};
Fixed.defaultProps = {
projectId: undefined,
};
export default Fixed;