import { I18nProvider } from "@/i18n";
import { Metadata } from "next";
import BagPrintSearch from "@/components/BagPrint/BagPrintSearch";
import { Stack, Typography } from "@mui/material";

export const metadata: Metadata = {
  title: "打袋機",
};

export default async function BagPrintPage() {
  return (
    <I18nProvider namespaces={["bagPrint", "navigation", "common"]}>
      <Stack direction="row" justifyContent="space-between" flexWrap="wrap" rowGap={2}>
        <Typography variant="h4" marginInlineEnd={2}>
          打袋機
        </Typography>
      </Stack>
      <BagPrintSearch />
    </I18nProvider>
  );
}
