import { jsx } from "react/jsx-runtime";
import "react";
import { createStyles } from "antd-style";
import { Input } from "../input/index.mjs";
import { RawTextArea } from "./RawTextArea.mjs";
function _tagged_template_literal(strings, raw) {
    if (!raw) raw = strings.slice(0);
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    const data = _tagged_template_literal([
        "\n      &:not(:hover) {\n        border-right-color: transparent;\n        border-top-color: transparent;\n      }\n      background-color: transparent;\n    "
    ]);
    _templateObject = function() {
        return data;
    };
    return data;
}
const useStyles = createStyles((param)=>{
    let { css } = param;
    return {
        button: css(_templateObject())
    };
});
function JSONInput(props) {
    const { styles } = useStyles();
    return /*#__PURE__*/ jsx(RawTextArea, {
        buttonClass: styles.button,
        ...props,
        component: Input.JSON
    });
}
export { JSONInput };
