mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 20:08:37 +08:00
commentBox slot
This commit is contained in:
@@ -58,7 +58,7 @@ export default class DraftArea extends React.Component {
|
||||
{label}
|
||||
</label>
|
||||
<Slot
|
||||
fill="textArea"
|
||||
fill="commentBox"
|
||||
defaultComponent={DraftAreaContent}
|
||||
className={styles.content}
|
||||
{...tASettings}
|
||||
|
||||
@@ -5,7 +5,7 @@ import { gql } from 'react-apollo';
|
||||
|
||||
export default {
|
||||
slots: {
|
||||
textArea: [Editor],
|
||||
commentBox: [Editor],
|
||||
commentContent: [CommentContent],
|
||||
},
|
||||
fragments: {
|
||||
|
||||
Reference in New Issue
Block a user