Skip to main content

Methods

setBorderStatus

Change components border visibility.

  const DragTextEditorRef = useRef<DragTextRef>(null);

const stopEditing = () => DragTextEditorRef.current.setBorderStatus(false);

<Button title="Stop Editing" onPress={stopEditing} />
<DragTextEditor ref={DragTextEditorRef} />