mirror of
https://github.com/wassname/talk.git
synced 2026-06-28 21:13:12 +08:00
14 lines
380 B
JavaScript
14 lines
380 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;
|