Skip to content
Snippets Groups Projects
Commit aca0d8c0 authored by Loïc Poullain's avatar Loïc Poullain
Browse files

Move and rename Legende component

parent 2525938a
No related branches found
No related tags found
1 merge request!13Déplacer la légende
import OpenInNewIcon from "@material-ui/icons/OpenInNew";
import PropTypes from "prop-types";
import styles from "./legende-article.module.scss";
import styles from "./Legende.module.scss";
function LegendeArticle({ montrerPLF }) {
function Legende({ montrerPLF }) {
return (
<div>
<div className={styles.legend}>
......@@ -25,7 +25,8 @@ function LegendeArticle({ montrerPLF }) {
);
}
LegendeArticle.propTypes = {
Legende.propTypes = {
montrerPLF: PropTypes.bool.isRequired,
};
export default LegendeArticle;
export default Legende;
export { default as Legende } from "./Legende";
import Button from "@material-ui/core/Button";
import Grid from "@material-ui/core/Grid";
import { withStyles } from "@material-ui/core/styles";
import AddCircleOutlineIcon from "@material-ui/icons/AddCircleOutline";
import PropTypes from "prop-types";
import { Fragment, PureComponent } from "react";
import Legende from "../articles/legende-article/legende-article";
import { Legende } from "./legende";
import SimulationButton5 from "./simulation-button-5";
import SimulationButton60 from "./simulation-button-60";
import styles2 from "./simulation-menubar-component.module.scss";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment