import { IconPlus } from "@tabler/icons-react";
import { Group } from "@mantine/core";
import InlineButton from "@/components/ui/InlineButton/InlineButton";
import useDealTagActions from "@/drawers/common/ProjectEditorDrawer/tabs/TagsTab/hooks/useDealTagActions";

const TagsTabHeader = () => {
    const { onCreateClick } = useDealTagActions();

    return (
        <Group
            pt={"xs"}
            px={"xs"}>
            <InlineButton onClick={onCreateClick}>
                <IconPlus />
                Создать
            </InlineButton>
        </Group>
    );
};

export default TagsTabHeader;
