20 lines
488 B
TypeScript
20 lines
488 B
TypeScript
import { FC } from "react";
|
||
import { Group } from "@mantine/core";
|
||
import InlineButton from "@/components/ui/InlineButton/InlineButton";
|
||
|
||
type Props = {
|
||
onCreateClick: () => void;
|
||
};
|
||
|
||
const BarcodeTemplatesDesktopHeader: FC<Props> = ({ onCreateClick }) => {
|
||
return (
|
||
<Group>
|
||
<InlineButton onClick={onCreateClick}>
|
||
Создать шаблон
|
||
</InlineButton>
|
||
</Group>
|
||
);
|
||
};
|
||
|
||
export default BarcodeTemplatesDesktopHeader;
|