Moving gdpr to talk-plugin-profile-data

This commit is contained in:
okbel committed 2018-05-02 14:01:03 -03:00
1 parent 26438d0b90
commit c57acddfc0
34 files changed
+5 -1057

No files matched your search

@@ -0,0 +1,17 @@
import React from 'react';
import PropTypes from 'prop-types';
import styles from './ErrorMessage.css';
import { Icon } from 'plugin-api/beta/client/components/ui';
const ErrorMessage = ({ children }) => (
<div className={styles.errorMsg}>
<Icon className={styles.warningIcon} name="warning" />
<span>{children}</span>
</div>
);
ErrorMessage.propTypes = {
children: PropTypes.node,
};
export default ErrorMessage;