From 9515d053e4e824399e60eecc74d8bf54eb5290c2 Mon Sep 17 00:00:00 2001 From: Lucas Schoenfelder <les17@inf.ufpr.br> Date: Mon, 8 Jun 2020 17:05:52 -0300 Subject: [PATCH] generic alert component --- src/Components/Alert.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/Components/Alert.js diff --git a/src/Components/Alert.js b/src/Components/Alert.js new file mode 100644 index 00000000..747b8199 --- /dev/null +++ b/src/Components/Alert.js @@ -0,0 +1,24 @@ +/*Copyright (C) 2019 Centro de Computacao Cientifica e Software Livre +Departamento de Informatica - Universidade Federal do Parana + +This file is part of Plataforma Integrada MEC. + +Plataforma Integrada MEC is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Plataforma Integrada MEC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with Plataforma Integrada MEC. If not, see <http://www.gnu.org/licenses/>.*/ + +import React from 'react' +import MuiAlert from '@material-ui/lab/Alert'; + +export default function Alert(props) { + return <MuiAlert elevation={6} variant="filled" {...props} />; +} -- GitLab