From e27d66dc3de95a4efffc0b192e7942ed0bd47d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20GLATZ?= Date: Thu, 27 Jun 2019 11:12:38 +0200 Subject: [PATCH] Add component IconText --- nextjs/components/atoms/IconText.js | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 nextjs/components/atoms/IconText.js diff --git a/nextjs/components/atoms/IconText.js b/nextjs/components/atoms/IconText.js new file mode 100644 index 000000000..c31bb0f3d --- /dev/null +++ b/nextjs/components/atoms/IconText.js @@ -0,0 +1,36 @@ +import React, { Fragment } from 'react'; +import PropTypes from "prop-types"; +import { withStyles } from '@material-ui/core/styles'; +import SvgIcon from '@material-ui/core/SvgIcon'; + + +const styles = theme => ({ + card: { + display: 'flex', + position: 'relative', + height: '60vh', + width: '100%', + }, + +}); + +class IconText extends React.Component { + + render() { + + return ( + + + + + + ); + } +} + +IconText.propTypes = { + classes: PropTypes.object.isRequired, + theme: PropTypes.object.isRequired, +}; + +export default withStyles(styles, { withTheme: true })(IconText); \ No newline at end of file