import React from "react"; export class Notice extends React.Component { static propTypes = { isError: React.PropTypes.bool, }; static defaultProps = { isError: false, }; render() { return (
{this.props.children}
); } } export default Notice;