mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 03:21:58 +08:00
12 lines
316 B
JavaScript
12 lines
316 B
JavaScript
import React from 'react';
|
|
const packagename = 'coral-plugin-questionbox';
|
|
|
|
const QuestionBox = ({enable, content}) =>
|
|
<div
|
|
className={`${packagename}-info ${enable ? null : 'hidden'}` }>
|
|
<i className={`${packagename}-icon material-icons`}>chat_bubble person</i>
|
|
{content}
|
|
</div>;
|
|
|
|
export default QuestionBox;
|