import React from 'react'; export const Notice = React.createClass({ propTypes: { isError: React.PropTypes.bool, }, getDefaultProps: function() { return { isError: false, }; }, render: function() { return (
{this.props.children}
); }, }); export default Notice;