import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["className","children"];import React,{forwardRef}from"react";import{Text}from"../../Text";import{isString}from"../../../utils/type-guards";import{FieldInput}from"../../FieldComponents/FieldInput";import{cnSelectInput}from"./cnSelectInput";export var SelectInput=forwardRef(function(a,b){var c=a.className,d=a.children,e=_objectWithoutProperties(a,_excluded);return React.createElement("div",{className:cnSelectInput({withValue:!!d},[c])},d&&React.createElement("div",{className:cnSelectInput("Value")},isString(d)?React.createElement(Text,{truncate:!0,className:cnSelectInput("ValueText")},d):d),React.createElement(FieldInput,Object.assign({className:cnSelectInput("Input")},e,{ref:b})))});
//# sourceMappingURL=SelectInput.js.map