Untitled

mail@pastecode.io avatar
unknown
plain_text
19 days ago
435 B
2
Indexable
Never
import React from 'react';
import SummaryCards from './SummaryCards';
import Navbar from './Navbar';
import ItemAnalytics from './ItemAnalytics';
import mockData from '../data/mockData.json';

const DashboardLayout = () => {
  const { summary, items } = mockData;

  return (
    <div>
      <Navbar />
      <SummaryCards summary={summary} />
      <ItemAnalytics items={items} /> 
    </div>
  );
};

export default DashboardLayout;
Leave a Comment