Cleanup, document menu
This commit is contained in:
@@ -36,7 +36,6 @@ const Collaborators = function({ document }: { document: Document }) {
|
||||
|
||||
const Avatars = styled(Flex)`
|
||||
flex-direction: row-reverse;
|
||||
margin-right: 10px;
|
||||
height: 26px;
|
||||
`;
|
||||
|
||||
|
||||
@@ -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;
|
||||
@@ -1,11 +0,0 @@
|
||||
.container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 43px;
|
||||
padding: 0 0.5rem;
|
||||
|
||||
a {
|
||||
color: #171B35;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
// @flow
|
||||
import HeaderAction from './HeaderAction';
|
||||
export default HeaderAction;
|
||||
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user