import React from 'react' ; import Flex from 'design/Flex' ; export default function TopNav ( props ) { return ( < Flex flex = "0 0 auto" as = "nav" bg = "primary.main" flexDirection = "row" alignItems = "center" { ... props } />); }