@umituz/react-native-photo-editor 1.0.2 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-photo-editor",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A powerful, generic photo editor for React Native",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -72,6 +72,7 @@ export const PhotoEditor: React.FC<PhotoEditorProps> = ({
72
72
  updateLayer,
73
73
  deleteLayer,
74
74
  selectLayer,
75
+ addTextLayer,
75
76
  handleAddText,
76
77
  handleTextLayerTap,
77
78
  handleSaveText,
@@ -10,7 +10,7 @@ import {
10
10
  AtomicText,
11
11
  useAppDesignTokens,
12
12
  } from "@umituz/react-native-design-system";
13
- import { TextAlign } from "../../domain/Editor.types";
13
+ import { TextAlign } from "../types";
14
14
 
15
15
  interface DraggableTextProps {
16
16
  text: string;
@@ -116,6 +116,7 @@ export const usePhotoEditorUI = (
116
116
  updateLayer,
117
117
  deleteLayer,
118
118
  selectLayer,
119
+ addTextLayer,
119
120
  // UI Actions
120
121
  handleAddText,
121
122
  handleTextLayerTap,