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