UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

29 lines (23 loc) 606 B
// ** MUI Imports import Grid from '@mui/material/Grid' // ** Custom Components Imports import PlanDetails from '~/@core/components/plan-details' const PricingPlans = props => { // ** Props const { plan, data } = props const renderPlan = () => { return data?.pricingPlans.map(item => { return ( <Grid item xs={12} md={4} key={item.title.toLowerCase()}> <PlanDetails plan={plan} data={item} /> </Grid> ) }) } return ( <Grid container spacing={6}> {renderPlan()} </Grid> ) } export default PricingPlans