UNPKG

@adaptabletools/adaptable-cjs

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

13 lines (12 loc) 633 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CodeBlock = exports.baseClassName = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const Flex_1 = require("../Flex"); const clsx_1 = tslib_1.__importDefault(require("clsx")); exports.baseClassName = 'ab-CodeBlock'; const CodeBlock = (props) => { return (React.createElement(Flex_1.Box, { as: "code", ...props, className: (0, clsx_1.default)('twa:p-1 twa:rounded-standard twa:bg-primary twa:text-primary-foreground', exports.baseClassName, props.className) })); }; exports.CodeBlock = CodeBlock;