mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Implement talk-plugin-author-menu
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import React from 'react';
|
||||
import styles from './Menu.css';
|
||||
import {Slot} from 'plugin-api/beta/client/components';
|
||||
|
||||
export default ({data, root, asset, comment}) => (
|
||||
<div className={styles.menu}>
|
||||
<Slot
|
||||
fill={'authorMenuInfos'}
|
||||
data={data}
|
||||
queryData={{asset, root, comment}}
|
||||
/>
|
||||
<Slot
|
||||
fill={'authorMenuActions'}
|
||||
data={data}
|
||||
queryData={{asset, root, comment}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
Reference in New Issue
Block a user