mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
Plugins renaming
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
const packagename = 'talk-plugin-questionbox';
|
||||
import Slot from 'coral-framework/components/Slot';
|
||||
|
||||
const QuestionBox = ({enable, content}) =>
|
||||
<div className={`${packagename}-info ${enable ? null : 'hidden'}` }>
|
||||
<div className={`${packagename}-box`}>
|
||||
<i className={`${packagename}-icon material-icons bubble`}>chat_bubble</i>
|
||||
<i className={`${packagename}-icon material-icons person`}>person</i>
|
||||
</div>
|
||||
<div className={`${packagename}-content`}>
|
||||
{content}
|
||||
</div>
|
||||
<Slot fill="streamQuestionArea" />
|
||||
</div>;
|
||||
|
||||
export default QuestionBox;
|
||||
Reference in New Issue
Block a user