"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.StylePreview = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
const twMerge_1 = require("../twMerge");
const Flex_1 = require("./Flex");
const clsx_1 = tslib_1.__importDefault(require("clsx"));
const StylePreview = (props) => (React.createElement(Flex_1.Box, { ...props, className: (0, clsx_1.default)((0, twMerge_1.twMerge)('ab-StylePreview twa:p-2 twa:mt-2', props.className), props.styleObject.ClassName), style: { ...(0, StyleHelper_1.toStyle)(props.styleObject), ...props.style } }, props.children ?? 'Preview result'));
exports.StylePreview = StylePreview;
