First implementation of ignore user plugin

This commit is contained in:
Chi Vinh Le
2017-09-04 15:40:39 +07:00
parent c07eaf0edb
commit ffef2f640d
25 changed files with 217 additions and 117 deletions
@@ -35,3 +35,7 @@
transform: rotate(180deg);
}
.actions {
display: flex;
justify-content: flex-end;
}
@@ -5,11 +5,13 @@ import {Slot} from 'plugin-api/beta/client/components';
export default ({data, root, asset, comment, contentSlot}) => {
if (contentSlot) {
return (
<Slot
fill={contentSlot}
data={data}
queryData={{asset, root, comment}}
/>
<div className={styles.menu}>
<Slot
fill={contentSlot}
data={data}
queryData={{asset, root, comment}}
/>
</div>
);
}
@@ -21,6 +23,7 @@ export default ({data, root, asset, comment, contentSlot}) => {
queryData={{asset, root, comment}}
/>
<Slot
className={styles.actions}
fill={'authorMenuActions'}
data={data}
queryData={{asset, root, comment}}