From 2208e7319a69a33b481dbe23ddb6e41e690dd37d Mon Sep 17 00:00:00 2001 From: Trung Dang Date: Sun, 21 Apr 2024 11:44:14 +0700 Subject: [PATCH] feat: export `DEFAULT_TEMPLATE` (#1156) Allow scripts/packages to reference the default template and maybe make modifications and feed to the `template` param. --- packages/cropperjs/src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/cropperjs/src/index.ts b/packages/cropperjs/src/index.ts index facc974fb..72f41bae0 100644 --- a/packages/cropperjs/src/index.ts +++ b/packages/cropperjs/src/index.ts @@ -17,6 +17,8 @@ import { } from '@cropper/elements'; import DEFAULT_TEMPLATE from './template'; +export { DEFAULT_TEMPLATE } + export interface CropperOptions { container?: Element | string; template?: string;