Cleanup, document menu

This commit is contained in:
Tom Moor
2017-09-04 14:23:08 -07:00
parent 98eed483c4
commit e72d33e4ec
6 changed files with 31 additions and 41 deletions

View File

@@ -36,7 +36,6 @@ const Collaborators = function({ document }: { document: Document }) {
const Avatars = styled(Flex)`
flex-direction: row-reverse;
margin-right: 10px;
height: 26px;
`;

View File

@@ -1,16 +0,0 @@
// @flow
import React from 'react';
import styles from './HeaderAction.scss';
type Props = { onClick?: ?Function, children?: ?React.Element<any> };
const HeaderAction = (props: Props) => {
return (
<div onClick={props.onClick} className={styles.container}>
{props.children}
</div>
);
};
export default HeaderAction;

View File

@@ -1,11 +0,0 @@
.container {
display: flex;
justify-content: center;
align-items: center;
min-height: 43px;
padding: 0 0.5rem;
a {
color: #171B35;
}
}

View File

@@ -1,3 +0,0 @@
// @flow
import HeaderAction from './HeaderAction';
export default HeaderAction;

View File

@@ -1,8 +1,7 @@
// @flow
import Layout from './Layout';
import Title from './components/Title';
import HeaderAction from './components/HeaderAction';
export default Layout;
export { Title, HeaderAction };
export { Title };