import { FC } from "react";
import { Box } from "@mantine/core";
import InlineButton from "@/components/ui/InlineButton/InlineButton";

type Props = {
    onCreateClick: () => void;
};

const BarcodeTemplatesMobileHeader: FC<Props> = ({ onCreateClick }) => {
    return (
        <Box
            px={"xs"}
            pt={"xs"}>
            <InlineButton
                onClick={onCreateClick}
                w={"100%"}>
                Создать шаблон
            </InlineButton>
        </Box>
    );
};

export default BarcodeTemplatesMobileHeader;
