@mocanvas/mocanvas · function

TldrawUiInput

declare function TldrawUiInput({ value, defaultValue, placeholder, label, icon, disabled, autoFocus, autoSelect, className, style, id, ref, onValueChange, onComplete, onCancel, onFocus, onBlur, }: TLUiInputProps): react.JSX.Element

A labelled text input that commits on Enter and reverts on Escape.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.