mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 04:04:04 +08:00
17 lines
393 B
JavaScript
17 lines
393 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import cn from 'classnames';
|
|
import styles from './RestrictedMessageBox.css';
|
|
|
|
const RestrictedMessageBox = ({ children }) => (
|
|
<div className={cn(styles.message, 'talk-restricted-message-box')}>
|
|
{children}
|
|
</div>
|
|
);
|
|
|
|
RestrictedMessageBox.propTypes = {
|
|
children: PropTypes.node,
|
|
};
|
|
|
|
export default RestrictedMessageBox;
|