@rustors/react 0.3.0 → 0.3.1
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/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **Provider Lifecycle**:
|
|
8
|
-
- **
|
|
7
|
+
- **Provider Lifecycle**: Engine initialization, status tracking (`idle`, `initializing`, `ready`, `error`), and error recovery with `<RustoProvider>`.
|
|
8
|
+
- **Hooks**: `useRusto()` to access engine status, and `useOcr()` for running OCR and managing state (`isProcessing`, `results`, `spatialText`).
|
|
9
9
|
- **Composite Components**: `<OcrOverlay>` for displaying interactive bounding boxes, and `<OcrDropzone>` for drag-and-drop scanning.
|
|
10
|
-
- **
|
|
10
|
+
- **Clean Architecture**: Functional logic is separated into testable services and hooks; components remain focused on presentation.
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|