import React from "react";
import { CellTextboxLabel } from "../CellTextboxLabel/CellTextboxLabel";
import { CellTextboxTitle } from "../CellTextboxTitle/CellTextboxTitle";
import { CellTextboxSubtitle } from "../CellTextboxSubtitle/CellTextboxSubtitle";
import { cx } from "../../../../utils";
import { CellTextboxStyled } from "./CellTextbox.styles";
export const CellTextbox = ({ label, title, subtitle, children, className, ...rest })=>{
    return(// TODO: #1548
    /*#__PURE__*/ React.createElement(CellTextboxStyled, {
        className: cx('cell-textbox', className),
        ...rest
    }, label || title || subtitle ? /*#__PURE__*/ React.createElement(React.Fragment, null, label && /*#__PURE__*/ React.createElement(CellTextboxLabel, null, label), title && /*#__PURE__*/ React.createElement(CellTextboxTitle, null, title), subtitle && /*#__PURE__*/ React.createElement(CellTextboxSubtitle, null, subtitle)) : children));
};
