Skip to content

TextEdit

TextEdit Component for entering multi-line text content

Usage

import {TextEdit} from 'deft-react';
function App() {
return <TextEdit text="Hello" />
}

Properties

PropertyDescriptionTypeDefault
textText contentstring-
placeholderPlaceholder of Inputstring-
disabledWhether Input is disabledbooleanfalse

Events

EventDescriptionEvent Type
textchangeTriggers when the Input value change-
caretchangeThe cursor changes-