mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 11:46:08 +08:00
11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
import React from 'react';
|
|
const packagename = 'coral-plugin-questionbox';
|
|
|
|
const QuestionBox = ({enable, content}) =>
|
|
<div
|
|
className={`${packagename}-info ${enable ? null : 'hidden'}` }>
|
|
{content}
|
|
</div>;
|
|
|
|
export default QuestionBox;
|