@superinterface/react 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3683,9 +3683,10 @@ var Input = function(props) {
|
|
|
3683
3683
|
isDisabledPrevious,
|
|
3684
3684
|
textareaProps
|
|
3685
3685
|
]);
|
|
3686
|
+
var _props_placeholder;
|
|
3686
3687
|
return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(TextareaBase, _object_spread_props(_object_spread({
|
|
3687
3688
|
minRows: 1,
|
|
3688
|
-
placeholder: "Message ".concat(assistantNameContext, "..."),
|
|
3689
|
+
placeholder: (_props_placeholder = props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "Message ".concat(assistantNameContext, "..."),
|
|
3689
3690
|
disabled: isDisabled,
|
|
3690
3691
|
onKeyDown: function(e) {
|
|
3691
3692
|
if (e.key === "Enter" && !e.shiftKey) {
|