mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Fully working :)
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react';
|
||||
import cn from 'classnames';
|
||||
import styles from './QuestionBox.css';
|
||||
import {Icon} from 'coral-ui';
|
||||
import Markdown from 'coral-framework/components/Markdown';
|
||||
|
||||
import Slot from 'coral-framework/components/Slot';
|
||||
|
||||
@@ -20,7 +21,7 @@ const QuestionBox = ({content, enable, icon = '', className = ''}) => (
|
||||
)
|
||||
}
|
||||
<div className={cn(styles.qbContent, 'questionbox-content')}>
|
||||
{content}
|
||||
<Markdown content={content} />
|
||||
</div>
|
||||
|
||||
<Slot fill="streamQuestionArea" />
|
||||
|
||||
Reference in New Issue
Block a user