import { jsx as _jsx } from "react/jsx-runtime";
/*
 * Copyright (c) 2023-2025 Datalayer, Inc.
 * Distributed under the terms of the Modified BSD License.
 */
export const CodePreview = (props) => {
    const { code } = props;
    return (_jsx("pre", { style: {
            fontSize: '12px',
            wordBreak: 'break-all',
            wordWrap: 'break-word',
            whiteSpace: 'pre-wrap',
        }, children: code }));
};
export default CodePreview;
