Skip to content

Commit

Permalink
feat: export DEFAULT_TEMPLATE (#1156)
Browse files Browse the repository at this point in the history
Allow scripts/packages to reference the default template and maybe make modifications and feed to the `template` param.
  • Loading branch information
NamesMT authored Apr 21, 2024
1 parent 4d2665e commit 2208e73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cropperjs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import {
} from '@cropper/elements';
import DEFAULT_TEMPLATE from './template';

export { DEFAULT_TEMPLATE }

export interface CropperOptions {
container?: Element | string;
template?: string;
Expand Down

0 comments on commit 2208e73

Please sign in to comment.