From 4a9adc703ab7d0a7cfdb5c6fecc44bc2598396bb Mon Sep 17 00:00:00 2001 From: DanielJGeiger <1852529+DanielJGeiger@users.noreply.github.com> Date: Sat, 9 Sep 2023 08:13:15 -0500 Subject: [PATCH] feat: export `changeProperty()` and `getFormValue()`. (#6957) --- src/actions/actionProperties.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsx index e0d61a27..1a05bc7c 100644 --- a/src/actions/actionProperties.tsx +++ b/src/actions/actionProperties.tsx @@ -95,7 +95,7 @@ import { register } from "./register"; const FONT_SIZE_RELATIVE_INCREASE_STEP = 0.1; -const changeProperty = ( +export const changeProperty = ( elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, @@ -118,7 +118,7 @@ const changeProperty = ( }); }; -const getFormValue = function ( +export const getFormValue = function ( elements: readonly ExcalidrawElement[], appState: AppState, getAttribute: (element: ExcalidrawElement) => T,