import { Button } from '@/shared/ui/button';

import { openCreatePostDialog } from './CreatePostDialog';
import { DashboardShell } from './DashboardShell';
import { PostDashboard } from './PostDashboard';

export const SampleTablePage = () => {
  return (
    <DashboardShell
      title="샘플 대시보드"
      description="샘플 글 데이터를 모아 보고, 검색하고, 관리해요."
      actions={<Button onClick={openCreatePostDialog}>새 글</Button>}
    >
      <PostDashboard />
    </DashboardShell>
  );
};
