import React from 'react';
import { IframeContainer } from '../containers/IframeContainer';
import { ConfigService } from '../configService';
const EmbeddedInquiry = (props) => {
    const { inquiryId, rowValue, identifier } = props;
    return (React.createElement(IframeContainer, { height: 'calc(100vh - 80px)', src: `${ConfigService.config.UNITY_URL}/inquiry/${inquiryId}?withoutShell=true&searchValue=${rowValue === null || rowValue === void 0 ? void 0 : rowValue[(identifier === null || identifier === void 0 ? void 0 : identifier.charAt(0).toLowerCase()) + (identifier === null || identifier === void 0 ? void 0 : identifier.slice(1))]}` }));
};
export default EmbeddedInquiry;
//# sourceMappingURL=EmbeddedInquiry.js.map