'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React from 'react';
import './index.scss';
export const JSONCell = ({ cellData })=>{
    const textToShow = cellData?.length > 100 ? `${cellData.substring(0, 100)}\u2026` : cellData;
    return /*#__PURE__*/ _jsxDEV("code", {
        className: "json-cell",
        children: /*#__PURE__*/ _jsxDEV("span", {
            children: JSON.stringify(textToShow)
        }, void 0, false, {
            fileName: "src/elements/Table/DefaultCell/fields/JSON/index.tsx",
            lineNumber: 13,
            columnNumber: 7
        }, this)
    }, void 0, false, {
        fileName: "src/elements/Table/DefaultCell/fields/JSON/index.tsx",
        lineNumber: 12,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=index.js.map