import React from "react"; import classNames from "classnames"; import { makeStyles } from "@material-ui/core/styles"; import GridContainer from "components/Grid/GridContainer.js"; import GridItem from "components/Grid/GridItem.js"; import NavPills from "components/NavPills/NavPills.js"; import Card from "components/Card/Card.js"; import CardBody from "components/Card/CardBody.js"; import CardHeader from "components/Card/CardHeader.js"; import Button from "components/CustomButtons/Button.js"; import styles from "assets/jss/nextjs-material-kit/pages/profilePage.js"; import Icon from "@material-ui/core/Icon"; import { Motorcycle } from "@material-ui/icons"; import NumberFormat from 'react-number-format'; const useStyles = makeStyles(styles); const DataProduct = function ({ backend, maxi, matic, naked, sport, offroad, moped, monsterenergy, cbu, product, ...props }) { const classes = useStyles(); const { ...rest } = props; const imageClasses = classNames( classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid ); const navImageClasses = classNames(classes.imgRounded, classes.imgGallery); const Product = product.map((data) => { return (
{data.name}
{/* */}
); }) const Productmaxi = maxi.map((data) => { return (
{data.name}
); }) const Productmatic = matic.map((data) => { return (
{data.name}
{/* */}
); }) const Productnaked = naked.map((data) => { return (
{data.name}
{/* */}
); }) const Productsport = sport.map((data) => { return (
{data.name}
{/* */}
); }) const Productoffroad = offroad.map((data) => { return (
{data.name}
{/* */}
); }) const Productmoped = moped.map((data) => { return (
{data.name}
{/* */}
); }) const Productmonsterenergy = monsterenergy.map((data) => { return (
{data.name}
{/* */}
); }) const Productcbu = cbu.map((data) => { return (
{data.name}
{/* */}
); }) return (
Product

Product & Facilities

{Product} ), }, //{ // tabButton: "Matic", // tabIcon: Motorcycle, // tabContent: ( // // {Productmatic} // // ), // }, // { // tabButton: "Naked Bike", // tabIcon: Motorcycle, // tabContent: ( // // {Productnaked} // // ), // }, // { // tabButton: "Sport", // tabIcon: Motorcycle, // tabContent: ( // // {Productsport} // // ), // }, // { // tabButton: "Off Road", // tabIcon: Motorcycle, // tabContent: ( // // {Productoffroad} // // ), // }, // { // tabButton: "Moped", // tabIcon: Motorcycle, // tabContent: ( // // {Productmoped} // // ), // }, // { // tabButton: "Monster Energy MotoGP", // tabIcon: Motorcycle, // tabContent: ( // // {Productmonsterenergy} // // ), // }, // { // tabButton: "CBU", // tabIcon: Motorcycle, // tabContent: ( // // {Productcbu} // // ), // }, // { // tabButton: "ATV", // tabIcon: Motorcycle, // tabContent: ( // // {Productcbu} // // ), // }, ]} />
); } export default DataProduct;