diff --git a/src/App.js b/src/App.js index 8828a15..fee4485 100644 --- a/src/App.js +++ b/src/App.js @@ -6,13 +6,15 @@ import { NavbarToggler, NavbarBrand, Nav, - NavItem, - NavLink, + UncontrolledDropdown, + DropdownToggle, + DropdownMenu, + DropdownItem, } from 'reactstrap'; import Home from './components/Home'; import Wheels from './components/Wheels'; import Gearbox from './components/Gearbox'; -import Leds from './components/Leds'; +import Resistor from './components/Resistor'; import 'bootstrap/dist/css/bootstrap.min.css'; import './App.css'; @@ -44,21 +46,29 @@ Car tools @@ -66,7 +76,7 @@ Résistances - + diff --git a/src/components/Leds.js b/src/components/Resistor/index.js similarity index 66% rename from src/components/Leds.js rename to src/components/Resistor/index.js index d7d498e..e88e99e 100644 --- a/src/components/Leds.js +++ b/src/components/Resistor/index.js @@ -1,15 +1,15 @@ import React, { Component } from 'react'; -class Leds extends Component { +class Resistor extends Component { render() { return (
{' '} -Leds +Resistor {' '}
); } } -export default Leds; +export default Resistor;