"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tag = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const styles_1 = require("./styles");
const useLogic_1 = require("./useLogic");
const Tag = (props) => {
    const { onMouseDown } = (0, useLogic_1.useLogic)();
    const { shrinks, isDisabled, ...restProps } = props;
    return ((0, jsx_runtime_1.jsx)(styles_1.StyledTag, { "$shrinks": shrinks, color: "grey", variant: "light", disabled: isDisabled, ...restProps, onMouseDown: onMouseDown }));
};
exports.Tag = Tag;
