import * as _ from 'lodash'; import * as React from 'react'; import { Link } from 'react-router-dom'; import styled from 'styled-components'; import { Heading, Paragraph } from 'ts/components/text'; import { WebsitePaths } from 'ts/types'; const navData = [ { title: '0x Instant', description: 'Simple crypto purchasing', url: WebsitePaths.Instant, }, { title: '0x Launch Kit', description: 'Build on the 0x protocol', url: WebsitePaths.LaunchKit, }, ]; export const DropdownProducts: React.FunctionComponent<{}> = () => ( {_.map(navData, (item, index) => (
  • {item.title} {item.description && ( {item.description} )}
  • ))}
    ); const List = styled.ul` a { padding: 15px 30px; display: block; color: inherit; } `;