import React, { Component } from 'react'; import { Breadcrumb, Container, Dropdown, Header, Icon, Item, Menu, Segment, Input } from 'semantic-ui-react' import { Link } from 'react-router-dom'; class Categories extends Component { render() { const data = this.props.data; const match = this.props.match; return (
Categories {data.categories.map((x, n) => {x.name} {x.info} {x.tools.length} tools )}
); } } export default Categories;