Saltearse al contenido

LineEdit

LineEdit es un widget que proporciona un cuadro de texto editable que puedes usar en tu aplicación.

Ejemplo

example_lineEdit.tsx
import { LineEdit } from '@vixen-js/core-react';
export function LineEditExample() {
const handleTextChanged = (text: string) => {
console.log(text);
};
return (
<Window>
<LineEdit onTextChange={handleTextChanged} />
</Window>
)
}

Aprende más sobre LineEdit.