import React from 'react' ; import { Link } from 'react-router-dom' ; const navStyle = { display : 'flex' , gap : '1em' , justifyContent : 'center' , } ; const AppNavigation = ( ) => { return ( < nav style = { navStyle } > < Link to = '/' > Home < /Link> < span > | < /span> < Link to = '/about' > About < /Link> < /nav>); } ; export default AppNavigation ;